#2F640F#2F640F
#2F640F is a dark, vivid yellow-green. Relative luminance 0.098; OKLCH L 44.9% C 0.126 H 136.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F640F |
|---|---|
| RGB | rgb(47, 100, 15) |
| HSL | hsl(97, 74%, 23%) |
| HSV | hsv(97, 85%, 39%) |
| CMYK | cmyk(53%, 0%, 85%, 60.8%) |
| CIE-LAB | lab(37.40, -33.13, 39.05) |
| CIE-LCH | lch(37.40, 51.21, 130.31°) |
| OKLab | oklab(44.93% -0.0921 0.0864) |
| OKLCH | oklch(44.93% 0.126 136.8) |
| XYZ | xyz(5.8155, 9.7528, 2.0279) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Deep Green
#02590F
ΔE00 5.70
Forest
#0B5509
ΔE00 6.03
Camouflage Green
#4B6113
ΔE00 6.21
Navy Green
#35530A
ΔE00 6.25
Forest Green
#2D5A27
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F640F #440F64
analogous
#59640F #2F640F #0F641A
triadic
#2F640F #0F2F64 #640F2F
tetradic
#2F640F #0F5964 #440F64 #641A0F
square
#2F640F #0F5964 #440F64 #641A0F
split-complementary
#2F640F #1A0F64 #640F59
monochromatic
#0D1B04 #162F07 #2F640F #489917 #61CE1F
Accessibility & contrast
On white
7.12
#2F640F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2F640F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F640F
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F640F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F640F | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#2C6054
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f640f; /* rgb */ color: rgb(47, 100, 15); /* oklch */ color: oklch(44.9% 0.126 136.8);
Tailwind
colors: {
custom: {
50: '#6e9156',
500: '#2f640f',
950: '#000000',
},
}SCSS
$custom: #2f640f; $custom-light: #6e9156; $custom-dark: #000000;
JSON
{
"hex": "#2f640f",
"rgb": {
"r": 47,
"g": 100,
"b": 15
},
"hsl": {
"h": 97.412,
"s": 73.913,
"l": 22.549
},
"oklch": {
"l": 0.44932,
"c": 0.12628,
"h": 136.8
},
"luminance": 0.09753
}Semantic roles & 50–950 ramp
primary
#2F640F
secondary
#75329D
accent
#37F1AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78