#1F9A2B#1F9A2B
#1F9A2B is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.0% C 0.181 H 144.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9A2B |
|---|---|
| RGB | rgb(31, 154, 43) |
| HSL | hsl(126, 66%, 36%) |
| HSV | hsv(126, 80%, 60%) |
| CMYK | cmyk(79.9%, 0%, 72.1%, 39.6%) |
| CIE-LAB | lab(55.66, -54.23, 46.72) |
| CIE-LCH | lch(55.66, 71.58, 139.26°) |
| OKLab | oklab(60% -0.1467 0.1066) |
| OKLCH | oklch(60% 0.181 144) |
| XYZ | xyz(12.5559, 23.5754, 6.1738) |
| Luminance | 0.2358 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.04
True Green
#089404
ΔE00 3.34
Kelley Green
#009337
ΔE00 3.69
Emerald Green
#028F1E
ΔE00 3.98
Grass Green
#3F9B0B
ΔE00 4.35
Emerald (survey)
#01A049
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9A2B #9A1F8E
analogous
#519A1F #1F9A2B #1F9A69
triadic
#1F9A2B #2B1F9A #9A2B1F
tetradic
#1F9A2B #1F519A #9A1F8E #9A691F
square
#1F9A2B #1F519A #9A1F8E #9A691F
split-complementary
#1F9A2B #691F9A #9A1F51
monochromatic
#0A340F #15671D #1F9A2B #29CD39 #56DD63
Accessibility & contrast
On white
3.67
#1F9A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#1F9A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9A2B
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9A2B | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #1f9a2b; /* rgb */ color: rgb(31, 154, 43); /* oklch */ color: oklch(60.0% 0.181 144.0);
Tailwind
colors: {
custom: {
50: '#72b96b',
500: '#1f9a2b',
950: '#000000',
},
}SCSS
$custom: #1f9a2b; $custom-light: #72b96b; $custom-dark: #000000;
JSON
{
"hex": "#1f9a2b",
"rgb": {
"r": 31,
"g": 154,
"b": 43
},
"hsl": {
"h": 125.854,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.59996,
"c": 0.1813,
"h": 144
},
"luminance": 0.23577
}Semantic roles & 50–950 ramp
primary
#1F9A2B
secondary
#C154B6
accent
#3ED9E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091207
muted
#7B817A