#2F8B2C#2F8B2C
#2F8B2C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.158 H 142.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8B2C |
|---|---|
| RGB | rgb(47, 139, 44) |
| HSL | hsl(118, 52%, 36%) |
| HSV | hsv(118, 68%, 55%) |
| CMYK | cmyk(66.2%, 0%, 68.3%, 45.5%) |
| CIE-LAB | lab(50.98, -46.09, 41.43) |
| CIE-LCH | lch(50.98, 61.97, 138.04°) |
| OKLab | oklab(56.21% -0.1253 0.0955) |
| OKLCH | oklch(56.21% 0.158 142.7) |
| XYZ | xyz(10.8589, 19.2503, 5.5258) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.34
Emerald Green
#028F1E
ΔE00 2.64
Kelley Green
#009337
ΔE00 3.71
Irish Green
#019529
ΔE00 3.81
True Green
#089404
ΔE00 4.74
Tree Green
#2A7E19
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8B2C #882C8B
analogous
#5E8B2C #2F8B2C #2C8B58
triadic
#2F8B2C #2C2F8B #8B2C2F
tetradic
#2F8B2C #2C5E8B #882C8B #8B582C
square
#2F8B2C #2C5E8B #882C8B #8B582C
split-complementary
#2F8B2C #582C8B #8B2C5E
monochromatic
#102E0F #1F5D1D #2F8B2C #3FB93B #67CE64
Accessibility & contrast
On white
4.33
#2F8B2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2F8B2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8B2C
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8B2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8B2C | 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)
#8E7E1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#1C8778
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f8b2c; /* rgb */ color: rgb(47, 139, 44); /* oklch */ color: oklch(56.2% 0.158 142.7);
Tailwind
colors: {
custom: {
50: '#74ae6a',
500: '#2f8b2c',
950: '#000000',
},
}SCSS
$custom: #2f8b2c; $custom-light: #74ae6a; $custom-dark: #000000;
JSON
{
"hex": "#2f8b2c",
"rgb": {
"r": 47,
"g": 139,
"b": 44
},
"hsl": {
"h": 118.105,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.56213,
"c": 0.15757,
"h": 142.7
},
"luminance": 0.19251
}Semantic roles & 50–950 ramp
primary
#2F8B2C
secondary
#B15FB4
accent
#4CDBD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A