Pale green color (#98FB98)
#98FB98 (Pale green) is a light green colour. It is rgb(152, 251, 152) in RGB and hsl(120, 93%, 79%) in HSL. Text in black reads better on it: the contrast is 16.59:1 against black and 1.27:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#98FB98}:\quad R=\mathrm{98}_{16}=152,\ G=\mathrm{FB}_{16}=251,\ B=\mathrm{98}_{16}=152 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#FB98FB} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#98FB98} = \mathrm{rgb}(152, 251, 152) \]
\[ \mathrm{#98FB98}:\quad R=\mathrm{98}_{16}=152,\ G=\mathrm{FB}_{16}=251,\ B=\mathrm{98}_{16}=152 \]
\[ H=120^\circ,\quad S=93\%,\quad L=79\% \]
\[ 120^\circ + 180^\circ = 300^\circ ;\Rightarrow; \mathrm{#FB98FB} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.27:1\ \text{(on white)} \]Pale green in every colour format
| Format | Value |
|---|---|
| HEX | #98FB98 |
| RGB | rgb(152, 251, 152) |
| RGB (percent) | rgb(59.6%, 98.4%, 59.6%) |
| HSL | hsl(120, 93%, 79%) |
| HSV / HSB | hsv(120, 39%, 98%) |
| CMYK | cmyk(39%, 0%, 39%, 2%) |
| Decimal | 10025880 |
| Description | light green |
| CSS name | palegreen |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.27:1 | fail | fail | fail | fail |
| Black text | 16.59:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #192A19 #335433 #4C7E4C #65A765 #7FD17F |
| This colour | #98FB98 |
| Tints (mixed with white) | #A9FCA9 #BAFCBA #CCFDCC #DDFEDD #EEFEEE |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #FFEA91 | 44 |
| Deuteranopia | #F0E19E | 44 |
| Tritanopia | #8CF6E2 | 41 |
| Grayscale | #E4E4E4 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Light green | #90EE90 |
| Medium spring green | #00FA9A |
| Aquamarine | #7FFFD4 |
| Medium sea green | #3CB371 |
Questions
What is the RGB value of #98FB98?
rgb(152, 251, 152): red 152, green 251, blue 152.
What is the HSL value of #98FB98?
hsl(120, 93%, 79%): a hue of 120°, 93% saturation and 79% lightness.
What is the complementary colour of #98FB98?
#FB98FB, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #670467.
Should I use white or black text on #98FB98?
Black. White gives 1.27:1 and black 16.59:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #98FB98?
cmyk(39%, 0%, 39%, 2%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #98FB98 a named colour?
Yes: it is the CSS colour name "palegreen".