#2F5124#2F5124
#2F5124 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.7% C 0.081 H 138.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5124 |
|---|---|
| RGB | rgb(47, 81, 36) |
| HSL | hsl(105, 38%, 23%) |
| HSV | hsv(105, 56%, 32%) |
| CMYK | cmyk(42%, 0%, 55.6%, 68.2%) |
| CIE-LAB | lab(30.92, -22.25, 22.48) |
| CIE-LCH | lch(30.92, 31.63, 134.70°) |
| OKLab | oklab(39.68% -0.061 0.054) |
| OKLCH | oklch(39.68% 0.081 138.5) |
| XYZ | xyz(4.4330, 6.6163, 2.7122) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.31
Pine
#2B5D34
ΔE00 5.01
Pine Green
#0A481E
ΔE00 5.62
Hunter Green
#355E3B
ΔE00 5.68
Navy Green
#35530A
ΔE00 5.97
Forrest Green
#154406
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5124 #462451
analogous
#455124 #2F5124 #24512F
triadic
#2F5124 #242F51 #51242F
tetradic
#2F5124 #244551 #462451 #512F24
square
#2F5124 #244551 #462451 #512F24
split-complementary
#2F5124 #2F2451 #512445
monochromatic
#0C1509 #162711 #2F5124 #487B37 #60A64A
Accessibility & contrast
On white
9.04
#2F5124 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F5124 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5124
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5124 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5124 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B20
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#2D4E47
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f5124; /* rgb */ color: rgb(47, 81, 36); /* oklch */ color: oklch(39.7% 0.081 138.5);
Tailwind
colors: {
custom: {
50: '#6a8260',
500: '#2f5124',
950: '#000000',
},
}SCSS
$custom: #2f5124; $custom-light: #6a8260; $custom-dark: #000000;
JSON
{
"hex": "#2f5124",
"rgb": {
"r": 47,
"g": 81,
"b": 36
},
"hsl": {
"h": 105.333,
"s": 38.462,
"l": 22.941
},
"oklch": {
"l": 0.39685,
"c": 0.08146,
"h": 138.5
},
"luminance": 0.06617
}Semantic roles & 50–950 ramp
primary
#2F5124
secondary
#774C85
accent
#59CEB2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79