#2C6010#2C6010
#2C6010 is a dark, vivid yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.122 H 137.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6010 |
|---|---|
| RGB | rgb(44, 96, 16) |
| HSL | hsl(99, 71%, 22%) |
| HSV | hsv(99, 83%, 38%) |
| CMYK | cmyk(54.2%, 0%, 83.3%, 62.4%) |
| CIE-LAB | lab(35.87, -32.36, 37.23) |
| CIE-LCH | lch(35.87, 49.32, 130.99°) |
| OKLab | oklab(43.64% -0.0898 0.0828) |
| OKLCH | oklch(43.64% 0.122 137.3) |
| XYZ | xyz(5.3149, 8.9382, 1.9353) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.91
Deep Green
#02590F
ΔE00 4.60
Forest
#0B5509
ΔE00 4.76
Navy Green
#35530A
ΔE00 5.25
Forest Green
#2D5A27
ΔE00 5.36
Camouflage Green
#4B6113
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6010 #441060
analogous
#546010 #2C6010 #10601C
triadic
#2C6010 #102C60 #60102C
tetradic
#2C6010 #105460 #441060 #601C10
square
#2C6010 #105460 #441060 #601C10
split-complementary
#2C6010 #1C1060 #601054
monochromatic
#0C1A04 #142C07 #2C6010 #449419 #5CC921
Accessibility & contrast
On white
7.53
#2C6010 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2C6010 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6010
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6010 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6010 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#295C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c6010; /* rgb */ color: rgb(44, 96, 16); /* oklch */ color: oklch(43.6% 0.122 137.3);
Tailwind
colors: {
custom: {
50: '#6b8e56',
500: '#2c6010',
950: '#000000',
},
}SCSS
$custom: #2c6010; $custom-light: #6b8e56; $custom-dark: #000000;
JSON
{
"hex": "#2c6010",
"rgb": {
"r": 44,
"g": 96,
"b": 16
},
"hsl": {
"h": 99,
"s": 71.429,
"l": 21.961
},
"oklch": {
"l": 0.43638,
"c": 0.12212,
"h": 137.3
},
"luminance": 0.08939
}Semantic roles & 50–950 ramp
primary
#2C6010
secondary
#753399
accent
#3AEEAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78