#2B5F17#2B5F17
#2B5F17 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.117 H 138.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5F17 |
|---|---|
| RGB | rgb(43, 95, 23) |
| HSL | hsl(103, 61%, 23%) |
| HSV | hsv(103, 76%, 37%) |
| CMYK | cmyk(54.7%, 0%, 75.8%, 62.7%) |
| CIE-LAB | lab(35.52, -31.72, 34.14) |
| CIE-LCH | lch(35.52, 46.61, 132.89°) |
| OKLab | oklab(43.36% -0.0875 0.0775) |
| OKLCH | oklch(43.36% 0.117 138.5) |
| XYZ | xyz(5.2429, 8.7595, 2.2249) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.00
Forest Green
#2D5A27
ΔE00 4.19
Forest
#0B5509
ΔE00 4.26
Darkgreen
#006400
ΔE00 4.29
Navy Green
#35530A
ΔE00 5.30
Pine
#2B5D34
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5F17 #4B175F
analogous
#4F5F17 #2B5F17 #175F27
triadic
#2B5F17 #172B5F #5F172B
tetradic
#2B5F17 #174F5F #4B175F #5F2717
square
#2B5F17 #174F5F #4B175F #5F2717
split-complementary
#2B5F17 #27175F #5F174F
monochromatic
#0B1906 #152E0B #2B5F17 #419023 #58C22F
Accessibility & contrast
On white
7.63
#2B5F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2B5F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5F17
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5F17 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#275C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b5f17; /* rgb */ color: rgb(43, 95, 23); /* oklch */ color: oklch(43.4% 0.117 138.5);
Tailwind
colors: {
custom: {
50: '#6a8d59',
500: '#2b5f17',
950: '#000000',
},
}SCSS
$custom: #2b5f17; $custom-light: #6a8d59; $custom-dark: #000000;
JSON
{
"hex": "#2b5f17",
"rgb": {
"r": 43,
"g": 95,
"b": 23
},
"hsl": {
"h": 103.333,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.43355,
"c": 0.11687,
"h": 138.5
},
"luminance": 0.0876
}Semantic roles & 50–950 ramp
primary
#2B5F17
secondary
#7D3C96
accent
#44E4B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79