#2C5310#2C5310
#2C5310 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.8% C 0.104 H 135.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5310 |
|---|---|
| RGB | rgb(44, 83, 16) |
| HSL | hsl(95, 68%, 19%) |
| HSV | hsv(95, 81%, 33%) |
| CMYK | cmyk(47%, 0%, 80.7%, 67.5%) |
| CIE-LAB | lab(31.25, -26.55, 32.77) |
| CIE-LCH | lch(31.25, 42.17, 129.01°) |
| OKLab | oklab(39.85% -0.0741 0.0735) |
| OKLCH | oklch(39.85% 0.104 135.3) |
| XYZ | xyz(4.2254, 6.7592, 1.5721) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.46
Forest
#0B5509
ΔE00 4.19
Forest Green
#2D5A27
ΔE00 4.50
Bottle Green
#044A05
ΔE00 5.09
Deep Green
#02590F
ΔE00 5.18
Darkgreen (survey)
#054907
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5310 #371053
analogous
#4E5310 #2C5310 #105315
triadic
#2C5310 #102C53 #53102C
tetradic
#2C5310 #104E53 #371053 #531510
square
#2C5310 #104E53 #371053 #531510
split-complementary
#2C5310 #151053 #53104E
monochromatic
#0E1A05 #112006 #2C5310 #47861A #62BA24
Accessibility & contrast
On white
8.93
#2C5310 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2C5310 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5310
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5310 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C04
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#2B5046
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c5310; /* rgb */ color: rgb(44, 83, 16); /* oklch */ color: oklch(39.8% 0.104 135.3);
Tailwind
colors: {
custom: {
50: '#698454',
500: '#2c5310',
950: '#000000',
},
}SCSS
$custom: #2c5310; $custom-light: #698454; $custom-dark: #000000;
JSON
{
"hex": "#2c5310",
"rgb": {
"r": 44,
"g": 83,
"b": 16
},
"hsl": {
"h": 94.925,
"s": 67.677,
"l": 19.412
},
"oklch": {
"l": 0.39847,
"c": 0.10436,
"h": 135.3
},
"luminance": 0.06759
}Semantic roles & 50–950 ramp
primary
#2C5310
secondary
#67328D
accent
#3DEBA2
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78