#2A5310#2A5310
#2A5310 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.7% C 0.106 H 136.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5310 |
|---|---|
| RGB | rgb(42, 83, 16) |
| HSL | hsl(97, 68%, 19%) |
| HSV | hsv(97, 81%, 33%) |
| CMYK | cmyk(49.4%, 0%, 80.7%, 67.5%) |
| CIE-LAB | lab(31.15, -27.29, 32.63) |
| CIE-LCH | lch(31.15, 42.54, 129.91°) |
| OKLab | oklab(39.74% -0.076 0.0732) |
| OKLCH | oklch(39.74% 0.106 136.1) |
| XYZ | xyz(4.1415, 6.7159, 1.5682) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.83
Forest
#0B5509
ΔE00 3.82
Forest Green
#2D5A27
ΔE00 4.36
Bottle Green
#044A05
ΔE00 4.77
Deep Green
#02590F
ΔE00 4.83
Darkgreen (survey)
#054907
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5310 #391053
analogous
#4C5310 #2A5310 #105317
triadic
#2A5310 #102A53 #53102A
tetradic
#2A5310 #104C53 #391053 #531710
square
#2A5310 #104C53 #391053 #531710
split-complementary
#2A5310 #171053 #53104C
monochromatic
#0D1A05 #102006 #2A5310 #44861A #5EBA24
Accessibility & contrast
On white
8.96
#2A5310 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A5310 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5310
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5310 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#285046
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a5310; /* rgb */ color: rgb(42, 83, 16); /* oklch */ color: oklch(39.7% 0.106 136.1);
Tailwind
colors: {
custom: {
50: '#688454',
500: '#2a5310',
950: '#000000',
},
}SCSS
$custom: #2a5310; $custom-light: #688454; $custom-dark: #000000;
JSON
{
"hex": "#2a5310",
"rgb": {
"r": 42,
"g": 83,
"b": 16
},
"hsl": {
"h": 96.716,
"s": 67.677,
"l": 19.412
},
"oklch": {
"l": 0.39737,
"c": 0.10553,
"h": 136.1
},
"luminance": 0.06716
}Semantic roles & 50–950 ramp
primary
#2A5310
secondary
#6A328D
accent
#3DEBA7
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78