#2A5F16#2A5F16
#2A5F16 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.118 H 138.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F16 |
|---|---|
| RGB | rgb(42, 95, 22) |
| HSL | hsl(104, 62%, 23%) |
| HSV | hsv(104, 77%, 37%) |
| CMYK | cmyk(55.8%, 0%, 76.8%, 62.7%) |
| CIE-LAB | lab(35.47, -32.13, 34.50) |
| CIE-LCH | lch(35.47, 47.15, 132.96°) |
| OKLab | oklab(43.3% -0.0886 0.0781) |
| OKLCH | oklch(43.3% 0.118 138.6) |
| XYZ | xyz(5.1917, 8.7342, 2.1712) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.90
Darkgreen
#006400
ΔE00 4.13
Forest
#0B5509
ΔE00 4.17
Forest Green
#2D5A27
ΔE00 4.32
Navy Green
#35530A
ΔE00 5.36
Pine
#2B5D34
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F16 #4B165F
analogous
#4E5F16 #2A5F16 #165F27
triadic
#2A5F16 #162A5F #5F162A
tetradic
#2A5F16 #164E5F #4B165F #5F2716
square
#2A5F16 #164E5F #4B165F #5F2716
split-complementary
#2A5F16 #27165F #5F164E
monochromatic
#0B1906 #142D0A #2A5F16 #409122 #56C22D
Accessibility & contrast
On white
7.64
#2A5F16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A5F16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F16
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F16 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625609
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f16; /* rgb */ color: rgb(42, 95, 22); /* oklch */ color: oklch(43.3% 0.118 138.6);
Tailwind
colors: {
custom: {
50: '#6a8d58',
500: '#2a5f16',
950: '#000000',
},
}SCSS
$custom: #2a5f16; $custom-light: #6a8d58; $custom-dark: #000000;
JSON
{
"hex": "#2a5f16",
"rgb": {
"r": 42,
"g": 95,
"b": 22
},
"hsl": {
"h": 103.562,
"s": 62.393,
"l": 22.941
},
"oklch": {
"l": 0.433,
"c": 0.1181,
"h": 138.6
},
"luminance": 0.08735
}Semantic roles & 50–950 ramp
primary
#2A5F16
secondary
#7D3B96
accent
#42E5B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79