#1F8236#1F8236
#1F8236 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.143 H 147.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8236 |
|---|---|
| RGB | rgb(31, 130, 54) |
| HSL | hsl(134, 61%, 32%) |
| HSV | hsv(134, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 58.5%, 49%) |
| CIE-LAB | lab(47.65, -44.68, 32.83) |
| CIE-LCH | lch(47.65, 55.45, 143.69°) |
| OKLab | oklab(53.38% -0.1203 0.0781) |
| OKLCH | oklch(53.38% 0.143 147) |
| XYZ | xyz(9.2129, 16.5219, 6.1928) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.30
Jungle Green
#048243
ΔE00 3.16
Tree Green
#2A7E19
ΔE00 4.64
Forestgreen (CSS)
#228B22
ΔE00 5.07
Green
#008000
ΔE00 5.77
Kelley Green
#009337
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8236 #821F6B
analogous
#3A821F #1F8236 #1F8268
triadic
#1F8236 #361F82 #82361F
tetradic
#1F8236 #1F3A82 #821F6B #82681F
square
#1F8236 #1F3A82 #821F6B #82681F
split-complementary
#1F8236 #681F82 #821F3A
monochromatic
#071F0D #135121 #1F8236 #2BB34B #48D368
Accessibility & contrast
On white
4.88
#1F8236 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#1F8236 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F8236
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F8236 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#786E3C
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f8236; /* rgb */ color: rgb(31, 130, 54); /* oklch */ color: oklch(53.4% 0.143 147.0);
Tailwind
colors: {
custom: {
50: '#6ba76f',
500: '#1f8236',
950: '#000000',
},
}SCSS
$custom: #1f8236; $custom-light: #6ba76f; $custom-dark: #000000;
JSON
{
"hex": "#1f8236",
"rgb": {
"r": 31,
"g": 130,
"b": 54
},
"hsl": {
"h": 133.939,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53383,
"c": 0.14346,
"h": 147
},
"luminance": 0.16523
}Semantic roles & 50–950 ramp
primary
#1F8236
secondary
#B5489C
accent
#43BFE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A