#2A5B16#2A5B16
#2A5B16 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.113 H 138.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5B16 |
|---|---|
| RGB | rgb(42, 91, 22) |
| HSL | hsl(103, 61%, 22%) |
| HSV | hsv(103, 76%, 36%) |
| CMYK | cmyk(53.8%, 0%, 75.8%, 64.3%) |
| CIE-LAB | lab(34.05, -30.40, 33.05) |
| CIE-LCH | lch(34.05, 44.90, 132.60°) |
| OKLab | oklab(42.13% -0.0839 0.075) |
| OKLCH | oklch(42.13% 0.113 138.2) |
| XYZ | xyz(4.8406, 8.0320, 2.0542) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.54
Forest Green
#2D5A27
ΔE00 3.58
Deep Green
#02590F
ΔE00 3.68
Navy Green
#35530A
ΔE00 4.44
Darkgreen
#006400
ΔE00 5.13
Bottle Green
#044A05
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5B16 #47165B
analogous
#4D5B16 #2A5B16 #165B25
triadic
#2A5B16 #162A5B #5B162A
tetradic
#2A5B16 #164D5B #47165B #5B2516
square
#2A5B16 #164D5B #47165B #5B2516
split-complementary
#2A5B16 #25165B #5B164D
monochromatic
#0B1906 #132A0A #2A5B16 #418C22 #57BE2E
Accessibility & contrast
On white
8.06
#2A5B16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A5B16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5B16
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5B16 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E530B
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#26584D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a5b16; /* rgb */ color: rgb(42, 91, 22); /* oklch */ color: oklch(42.1% 0.113 138.2);
Tailwind
colors: {
custom: {
50: '#698a58',
500: '#2a5b16',
950: '#000000',
},
}SCSS
$custom: #2a5b16; $custom-light: #698a58; $custom-dark: #000000;
JSON
{
"hex": "#2a5b16",
"rgb": {
"r": 42,
"g": 91,
"b": 22
},
"hsl": {
"h": 102.609,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.42133,
"c": 0.11258,
"h": 138.2
},
"luminance": 0.08032
}Semantic roles & 50–950 ramp
primary
#2A5B16
secondary
#793B92
accent
#44E4B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78