#2F8B1F#2F8B1F
#2F8B1F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.166 H 141.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8B1F |
|---|---|
| RGB | rgb(47, 139, 31) |
| HSL | hsl(111, 64%, 33%) |
| HSV | hsv(111, 78%, 55%) |
| CMYK | cmyk(66.2%, 0%, 77.7%, 45.5%) |
| CIE-LAB | lab(50.88, -47.22, 46.50) |
| CIE-LCH | lch(50.88, 66.28, 135.44°) |
| OKLab | oklab(56.1% -0.1291 0.1044) |
| OKLCH | oklch(56.1% 0.166 141) |
| XYZ | xyz(10.6517, 19.1674, 4.4344) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.20
Emerald Green
#028F1E
ΔE00 2.40
True Green
#089404
ΔE00 3.77
Irish Green
#019529
ΔE00 4.02
Dark Grass Green
#388004
ΔE00 4.51
Tree Green
#2A7E19
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8B1F #7B1F8B
analogous
#658B1F #2F8B1F #1F8B45
triadic
#2F8B1F #1F2F8B #8B1F2F
tetradic
#2F8B1F #1F658B #7B1F8B #8B451F
square
#2F8B1F #1F658B #7B1F8B #8B451F
split-complementary
#2F8B1F #451F8B #8B1F65
monochromatic
#0D2709 #1E5914 #2F8B1F #40BD2A #62D74D
Accessibility & contrast
On white
4.34
#2F8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#2F8B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8B1F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8B1F | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#1F8676
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f8b1f; /* rgb */ color: rgb(47, 139, 31); /* oklch */ color: oklch(56.1% 0.166 141.0);
Tailwind
colors: {
custom: {
50: '#75ae63',
500: '#2f8b1f',
950: '#000000',
},
}SCSS
$custom: #2f8b1f; $custom-light: #75ae63; $custom-dark: #000000;
JSON
{
"hex": "#2f8b1f",
"rgb": {
"r": 47,
"g": 139,
"b": 31
},
"hsl": {
"h": 111.111,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.56103,
"c": 0.16605,
"h": 141
},
"luminance": 0.19169
}Semantic roles & 50–950 ramp
primary
#2F8B1F
secondary
#AA4CBA
accent
#41E7CE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A