#2F522C#2F522C
#2F522C is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.1% C 0.074 H 142.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F522C |
|---|---|
| RGB | rgb(47, 82, 44) |
| HSL | hsl(115, 30%, 25%) |
| HSV | hsv(115, 46%, 32%) |
| CMYK | cmyk(42.7%, 0%, 46.3%, 67.8%) |
| CIE-LAB | lab(31.39, -21.50, 18.40) |
| CIE-LCH | lch(31.39, 28.30, 139.44°) |
| OKLab | oklab(40.12% -0.0586 0.0452) |
| OKLCH | oklch(40.12% 0.074 142.4) |
| XYZ | xyz(4.6440, 6.8205, 3.4542) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.98
Pine
#2B5D34
ΔE00 4.10
Hunter Green
#355E3B
ΔE00 4.27
Pine Green
#0A481E
ΔE00 5.52
Evergreen
#05472A
ΔE00 6.80
Spruce
#0A5F38
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F522C #4F2C52
analogous
#42522C #2F522C #2C523C
triadic
#2F522C #2C2F52 #522C2F
tetradic
#2F522C #2C4252 #4F2C52 #523C2C
square
#2F522C #2C4252 #4F2C52 #523C2C
split-complementary
#2F522C #3C2C52 #522C42
monochromatic
#0B140B #182A17 #2F522C #467A41 #5DA257
Accessibility & contrast
On white
8.88
#2F522C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F522C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F522C
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F522C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F522C | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#2C5049
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f522c; /* rgb */ color: rgb(47, 82, 44); /* oklch */ color: oklch(40.1% 0.074 142.4);
Tailwind
colors: {
custom: {
50: '#6a8365',
500: '#2f522c',
950: '#000000',
},
}SCSS
$custom: #2f522c; $custom-light: #6a8365; $custom-dark: #000000;
JSON
{
"hex": "#2f522c",
"rgb": {
"r": 47,
"g": 82,
"b": 44
},
"hsl": {
"h": 115.263,
"s": 30.159,
"l": 24.706
},
"oklch": {
"l": 0.40116,
"c": 0.07403,
"h": 142.4
},
"luminance": 0.06821
}Semantic roles & 50–950 ramp
primary
#2F522C
secondary
#805684
accent
#61C6BE
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A