#2C6210#2C6210
#2C6210 is a dark, vivid yellow-green. Relative luminance 0.093; OKLCH L 44.2% C 0.125 H 137.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6210 |
|---|---|
| RGB | rgb(44, 98, 16) |
| HSL | hsl(100, 72%, 22%) |
| HSV | hsv(100, 84%, 38%) |
| CMYK | cmyk(55.1%, 0%, 83.7%, 61.6%) |
| CIE-LAB | lab(36.57, -33.20, 37.90) |
| CIE-LCH | lch(36.57, 50.38, 131.23°) |
| OKLab | oklab(44.22% -0.0921 0.0842) |
| OKLCH | oklch(44.22% 0.125 137.6) |
| XYZ | xyz(5.4997, 9.3078, 1.9969) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.60
Deep Green
#02590F
ΔE00 4.91
Forest
#0B5509
ΔE00 5.22
Forest Green
#2D5A27
ΔE00 5.78
Navy Green
#35530A
ΔE00 5.85
Camouflage Green
#4B6113
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6210 #461062
analogous
#556210 #2C6210 #10621D
triadic
#2C6210 #102C62 #62102C
tetradic
#2C6210 #105562 #461062 #621D10
square
#2C6210 #105562 #461062 #621D10
split-complementary
#2C6210 #1D1062 #621055
monochromatic
#0C1A04 #142D07 #2C6210 #449719 #5BCB21
Accessibility & contrast
On white
7.34
#2C6210 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2C6210 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6210
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6210 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6210 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5F5419
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c6210; /* rgb */ color: rgb(44, 98, 16); /* oklch */ color: oklch(44.2% 0.125 137.6);
Tailwind
colors: {
custom: {
50: '#6c8f56',
500: '#2c6210',
950: '#000000',
},
}SCSS
$custom: #2c6210; $custom-light: #6c8f56; $custom-dark: #000000;
JSON
{
"hex": "#2c6210",
"rgb": {
"r": 44,
"g": 98,
"b": 16
},
"hsl": {
"h": 99.512,
"s": 71.93,
"l": 22.353
},
"oklch": {
"l": 0.44219,
"c": 0.12474,
"h": 137.6
},
"luminance": 0.09308
}Semantic roles & 50–950 ramp
primary
#2C6210
secondary
#77339B
accent
#39EFB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78