#2C640F#2C640F
#2C640F is a dark, vivid yellow-green. Relative luminance 0.097; OKLCH L 44.8% C 0.128 H 137.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C640F |
|---|---|
| RGB | rgb(44, 100, 15) |
| HSL | hsl(100, 74%, 23%) |
| HSV | hsv(100, 85%, 39%) |
| CMYK | cmyk(56%, 0%, 85%, 60.8%) |
| CIE-LAB | lab(37.27, -34.10, 38.88) |
| CIE-LCH | lch(37.27, 51.72, 131.25°) |
| OKLab | oklab(44.79% -0.0945 0.0861) |
| OKLCH | oklch(44.79% 0.128 137.7) |
| XYZ | xyz(5.6819, 9.6839, 2.0216) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.40
Deep Green
#02590F
ΔE00 5.35
Forest
#0B5509
ΔE00 5.76
Forest Green
#2D5A27
ΔE00 6.34
Navy Green
#35530A
ΔE00 6.45
Camouflage Green
#4B6113
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C640F #470F64
analogous
#57640F #2C640F #0F641C
triadic
#2C640F #0F2C64 #640F2C
tetradic
#2C640F #0F5764 #470F64 #641C0F
square
#2C640F #0F5764 #470F64 #641C0F
split-complementary
#2C640F #1C0F64 #640F57
monochromatic
#0C1B04 #152F07 #2C640F #439917 #5BCE1F
Accessibility & contrast
On white
7.15
#2C640F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2C640F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C640F
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C640F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C640F | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#286054
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c640f; /* rgb */ color: rgb(44, 100, 15); /* oklch */ color: oklch(44.8% 0.128 137.7);
Tailwind
colors: {
custom: {
50: '#6c9156',
500: '#2c640f',
950: '#000000',
},
}SCSS
$custom: #2c640f; $custom-light: #6c9156; $custom-dark: #000000;
JSON
{
"hex": "#2c640f",
"rgb": {
"r": 44,
"g": 100,
"b": 15
},
"hsl": {
"h": 99.529,
"s": 73.913,
"l": 22.549
},
"oklch": {
"l": 0.44793,
"c": 0.12786,
"h": 137.7
},
"luminance": 0.09684
}Semantic roles & 50–950 ramp
primary
#2C640F
secondary
#78329D
accent
#37F1B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78