#1F9A2C#1F9A2C
#1F9A2C is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.0% C 0.181 H 144.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9A2C |
|---|---|
| RGB | rgb(31, 154, 44) |
| HSL | hsl(126, 66%, 36%) |
| HSV | hsv(126, 80%, 60%) |
| CMYK | cmyk(79.9%, 0%, 71.4%, 39.6%) |
| CIE-LAB | lab(55.67, -54.14, 46.33) |
| CIE-LCH | lch(55.67, 71.25, 139.45°) |
| OKLab | oklab(60.01% -0.1464 0.1059) |
| OKLCH | oklch(60.01% 0.181 144.1) |
| XYZ | xyz(12.5744, 23.5829, 6.2716) |
| Luminance | 0.2358 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.01
True Green
#089404
ΔE00 3.43
Kelley Green
#009337
ΔE00 3.60
Emerald Green
#028F1E
ΔE00 3.99
Grass Green
#3F9B0B
ΔE00 4.45
Emerald (survey)
#01A049
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9A2C #9A1F8D
analogous
#509A1F #1F9A2C #1F9A6A
triadic
#1F9A2C #2C1F9A #9A2C1F
tetradic
#1F9A2C #1F509A #9A1F8D #9A6A1F
square
#1F9A2C #1F509A #9A1F8D #9A6A1F
split-complementary
#1F9A2C #6A1F9A #9A1F50
monochromatic
#0A340F #15671D #1F9A2C #29CD3B #56DD65
Accessibility & contrast
On white
3.67
#1F9A2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#1F9A2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9A2C
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9A2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9A2C | 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)
#9D8B1B
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #1f9a2c; /* rgb */ color: rgb(31, 154, 44); /* oklch */ color: oklch(60.0% 0.181 144.1);
Tailwind
colors: {
custom: {
50: '#72b96b',
500: '#1f9a2c',
950: '#000000',
},
}SCSS
$custom: #1f9a2c; $custom-light: #72b96b; $custom-dark: #000000;
JSON
{
"hex": "#1f9a2c",
"rgb": {
"r": 31,
"g": 154,
"b": 44
},
"hsl": {
"h": 126.341,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.60005,
"c": 0.18065,
"h": 144.1
},
"luminance": 0.23584
}Semantic roles & 50–950 ramp
primary
#1F9A2C
secondary
#C154B5
accent
#3ED7E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091207
muted
#7B817A