#2F8B2B#2F8B2B
#2F8B2B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.158 H 142.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8B2B |
|---|---|
| RGB | rgb(47, 139, 43) |
| HSL | hsl(118, 53%, 36%) |
| HSV | hsv(118, 69%, 55%) |
| CMYK | cmyk(66.2%, 0%, 69.1%, 45.5%) |
| CIE-LAB | lab(50.97, -46.19, 41.86) |
| CIE-LCH | lch(50.97, 62.33, 137.81°) |
| OKLab | oklab(56.2% -0.1257 0.0963) |
| OKLCH | oklch(56.2% 0.158 142.5) |
| XYZ | xyz(10.8403, 19.2429, 5.4280) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.25
Emerald Green
#028F1E
ΔE00 2.58
Kelley Green
#009337
ΔE00 3.78
Irish Green
#019529
ΔE00 3.80
True Green
#089404
ΔE00 4.64
Tree Green
#2A7E19
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8B2B #872B8B
analogous
#5F8B2B #2F8B2B #2B8B57
triadic
#2F8B2B #2B2F8B #8B2B2F
tetradic
#2F8B2B #2B5F8B #872B8B #8B572B
square
#2F8B2B #2B5F8B #872B8B #8B572B
split-complementary
#2F8B2B #572B8B #8B2B5F
monochromatic
#0F2E0E #1F5C1D #2F8B2B #3FBA39 #66CE62
Accessibility & contrast
On white
4.33
#2F8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2F8B2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8B2B
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8B2B | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#1C8777
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f8b2b; /* rgb */ color: rgb(47, 139, 43); /* oklch */ color: oklch(56.2% 0.158 142.5);
Tailwind
colors: {
custom: {
50: '#74ae69',
500: '#2f8b2b',
950: '#000000',
},
}SCSS
$custom: #2f8b2b; $custom-light: #74ae69; $custom-dark: #000000;
JSON
{
"hex": "#2f8b2b",
"rgb": {
"r": 47,
"g": 139,
"b": 43
},
"hsl": {
"h": 117.5,
"s": 52.747,
"l": 35.686
},
"oklch": {
"l": 0.56203,
"c": 0.15831,
"h": 142.5
},
"luminance": 0.19244
}Semantic roles & 50–950 ramp
primary
#2F8B2B
secondary
#B15DB5
accent
#4CDCD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A