#2F5B1C#2F5B1C
#2F5B1C is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.105 H 137.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5B1C |
|---|---|
| RGB | rgb(47, 91, 28) |
| HSL | hsl(102, 53%, 23%) |
| HSV | hsv(102, 69%, 36%) |
| CMYK | cmyk(48.4%, 0%, 69.2%, 64.3%) |
| CIE-LAB | lab(34.33, -28.09, 30.67) |
| CIE-LCH | lch(34.33, 41.59, 132.49°) |
| OKLab | oklab(42.45% -0.0776 0.0708) |
| OKLCH | oklch(42.45% 0.105 137.6) |
| XYZ | xyz(5.1228, 8.1700, 2.4054) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.73
Forest
#0B5509
ΔE00 4.35
Navy Green
#35530A
ΔE00 4.37
Deep Green
#02590F
ΔE00 4.48
Pine
#2B5D34
ΔE00 5.81
Darkgreen
#006400
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5B1C #481C5B
analogous
#4E5B1C #2F5B1C #1C5B28
triadic
#2F5B1C #1C2F5B #5B1C2F
tetradic
#2F5B1C #1C4E5B #481C5B #5B281C
square
#2F5B1C #1C4E5B #481C5B #5B281C
split-complementary
#2F5B1C #281C5B #5B1C4E
monochromatic
#0C1707 #172C0E #2F5B1C #478A2A #5FB939
Accessibility & contrast
On white
7.97
#2F5B1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2F5B1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5B1C
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5B1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5B1C | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5314
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#2C584E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f5b1c; /* rgb */ color: rgb(47, 91, 28); /* oklch */ color: oklch(42.4% 0.105 137.6);
Tailwind
colors: {
custom: {
50: '#6c8a5b',
500: '#2f5b1c',
950: '#000000',
},
}SCSS
$custom: #2f5b1c; $custom-light: #6c8a5b; $custom-dark: #000000;
JSON
{
"hex": "#2f5b1c",
"rgb": {
"r": 47,
"g": 91,
"b": 28
},
"hsl": {
"h": 101.905,
"s": 52.941,
"l": 23.333
},
"oklch": {
"l": 0.42448,
"c": 0.10502,
"h": 137.6
},
"luminance": 0.0817
}Semantic roles & 50–950 ramp
primary
#2F5B1C
secondary
#794290
accent
#4BDCB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79