#1F902B#1F902B
#1F902B is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.170 H 144.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F902B |
|---|---|
| RGB | rgb(31, 144, 43) |
| HSL | hsl(126, 65%, 34%) |
| HSV | hsv(126, 78%, 56%) |
| CMYK | cmyk(78.5%, 0%, 70.1%, 43.5%) |
| CIE-LAB | lab(52.30, -50.92, 43.17) |
| CIE-LCH | lch(52.30, 66.76, 139.71°) |
| OKLab | oklab(57.2% -0.1377 0.0992) |
| OKLCH | oklch(57.2% 0.17 144.2) |
| XYZ | xyz(10.9736, 20.4109, 5.6464) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.53
Irish Green
#019529
ΔE00 1.85
Forestgreen (CSS)
#228B22
ΔE00 1.95
Kelley Green
#009337
ΔE00 2.28
True Green
#089404
ΔE00 3.53
Fern Green
#548D44
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F902B #901F84
analogous
#4C901F #1F902B #1F9064
triadic
#1F902B #2B1F90 #902B1F
tetradic
#1F902B #1F4C90 #901F84 #90641F
square
#1F902B #1F4C90 #901F84 #90641F
split-complementary
#1F902B #641F90 #901F4C
monochromatic
#092B0D #145E1C #1F902B #2AC23A #50D95F
Accessibility & contrast
On white
4.13
#1F902B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#1F902B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F902B
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F902B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F902B | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #1f902b; /* rgb */ color: rgb(31, 144, 43); /* oklch */ color: oklch(57.2% 0.170 144.2);
Tailwind
colors: {
custom: {
50: '#6fb26a',
500: '#1f902b',
950: '#000000',
},
}SCSS
$custom: #1f902b; $custom-light: #6fb26a; $custom-dark: #000000;
JSON
{
"hex": "#1f902b",
"rgb": {
"r": 31,
"g": 144,
"b": 43
},
"hsl": {
"h": 126.372,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.57203,
"c": 0.16966,
"h": 144.2
},
"luminance": 0.20412
}Semantic roles & 50–950 ramp
primary
#1F902B
secondary
#BC4EB1
accent
#40D6E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A