#2F511F#2F511F
#2F511F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.087 H 136.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F511F |
|---|---|
| RGB | rgb(47, 81, 31) |
| HSL | hsl(101, 45%, 22%) |
| HSV | hsv(101, 62%, 32%) |
| CMYK | cmyk(42%, 0%, 61.7%, 68.2%) |
| CIE-LAB | lab(30.85, -22.93, 25.19) |
| CIE-LCH | lch(30.85, 34.06, 132.31°) |
| OKLab | oklab(39.61% -0.0632 0.0594) |
| OKLCH | oklch(39.61% 0.087 136.8) |
| XYZ | xyz(4.3619, 6.5879, 2.3378) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.33
Navy Green
#35530A
ΔE00 4.74
Forrest Green
#154406
ΔE00 5.40
British Racing Green
#05480D
ΔE00 5.68
Forest Green (survey)
#06470C
ΔE00 5.74
Pine
#2B5D34
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F511F #411F51
analogous
#48511F #2F511F #1F5128
triadic
#2F511F #1F2F51 #511F2F
tetradic
#2F511F #1F4851 #411F51 #51281F
square
#2F511F #1F4851 #411F51 #51281F
split-complementary
#2F511F #281F51 #511F48
monochromatic
#0D1608 #15250E #2F511F #497D30 #62AA41
Accessibility & contrast
On white
9.06
#2F511F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F511F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F511F
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F511F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F511F | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A1A
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#2E4E46
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f511f; /* rgb */ color: rgb(47, 81, 31); /* oklch */ color: oklch(39.6% 0.087 136.8);
Tailwind
colors: {
custom: {
50: '#6a825c',
500: '#2f511f',
950: '#000000',
},
}SCSS
$custom: #2f511f; $custom-light: #6a825c; $custom-dark: #000000;
JSON
{
"hex": "#2f511f",
"rgb": {
"r": 47,
"g": 81,
"b": 31
},
"hsl": {
"h": 100.8,
"s": 44.643,
"l": 21.961
},
"oklch": {
"l": 0.39608,
"c": 0.0868,
"h": 136.8
},
"luminance": 0.06588
}Semantic roles & 50–950 ramp
primary
#2F511F
secondary
#714686
accent
#53D4AB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A04
muted
#7A7C79