#2C510C#2C510C
#2C510C is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.104 H 134.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C510C |
|---|---|
| RGB | rgb(44, 81, 12) |
| HSL | hsl(92, 74%, 18%) |
| HSV | hsv(92, 85%, 32%) |
| CMYK | cmyk(45.7%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(30.51, -25.88, 33.58) |
| CIE-LCH | lch(30.51, 42.40, 127.63°) |
| OKLab | oklab(39.23% -0.0726 0.0745) |
| OKLCH | oklch(39.23% 0.104 134.3) |
| XYZ | xyz(4.0474, 6.4467, 1.3788) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.09
Forest
#0B5509
ΔE00 4.63
Forrest Green
#154406
ΔE00 5.01
Bottle Green
#044A05
ΔE00 5.11
Forest Green
#2D5A27
ΔE00 5.24
Darkgreen (survey)
#054907
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C510C #310C51
analogous
#4E510C #2C510C #0C510E
triadic
#2C510C #0C2C51 #510C2C
tetradic
#2C510C #0C4E51 #310C51 #510E0C
square
#2C510C #0C4E51 #310C51 #510E0C
split-complementary
#2C510C #0E0C51 #510C4E
monochromatic
#0E1B04 #0F1C04 #2C510C #498614 #66BC1C
Accessibility & contrast
On white
9.17
#2C510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2C510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C510C
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C510C | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A00
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#2B4D44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c510c; /* rgb */ color: rgb(44, 81, 12); /* oklch */ color: oklch(39.2% 0.104 134.3);
Tailwind
colors: {
custom: {
50: '#698251',
500: '#2c510c',
950: '#000000',
},
}SCSS
$custom: #2c510c; $custom-light: #698251; $custom-dark: #000000;
JSON
{
"hex": "#2c510c",
"rgb": {
"r": 44,
"g": 81,
"b": 12
},
"hsl": {
"h": 92.174,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.39233,
"c": 0.10403,
"h": 134.3
},
"luminance": 0.06447
}Semantic roles & 50–950 ramp
primary
#2C510C
secondary
#602C8C
accent
#37F19B
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A02
muted
#7A7C78