#2F670F#2F670F
#2F670F is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.130 H 137.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F670F |
|---|---|
| RGB | rgb(47, 103, 15) |
| HSL | hsl(98, 75%, 23%) |
| HSV | hsv(98, 85%, 40%) |
| CMYK | cmyk(54.4%, 0%, 85.4%, 59.6%) |
| CIE-LAB | lab(38.44, -34.39, 40.02) |
| CIE-LCH | lch(38.44, 52.76, 130.68°) |
| OKLab | oklab(45.8% -0.0955 0.0884) |
| OKLCH | oklch(45.8% 0.13 137.2) |
| XYZ | xyz(6.1086, 10.3389, 2.1256) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.78
Deep Green
#02590F
ΔE00 6.32
Camouflage Green
#4B6113
ΔE00 6.57
Forest
#0B5509
ΔE00 6.81
Forest Green
#2D5A27
ΔE00 7.15
Navy Green
#35530A
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F670F #470F67
analogous
#5B670F #2F670F #0F671B
triadic
#2F670F #0F2F67 #670F2F
tetradic
#2F670F #0F5B67 #470F67 #671B0F
square
#2F670F #0F5B67 #470F67 #671B0F
split-complementary
#2F670F #1B0F67 #670F5B
monochromatic
#0C1B04 #173207 #2F670F #479C17 #60D21F
Accessibility & contrast
On white
6.85
#2F670F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2F670F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F670F
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F670F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F670F | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f670f; /* rgb */ color: rgb(47, 103, 15); /* oklch */ color: oklch(45.8% 0.130 137.2);
Tailwind
colors: {
custom: {
50: '#6e9356',
500: '#2f670f',
950: '#000000',
},
}SCSS
$custom: #2f670f; $custom-light: #6e9356; $custom-dark: #000000;
JSON
{
"hex": "#2f670f",
"rgb": {
"r": 47,
"g": 103,
"b": 15
},
"hsl": {
"h": 98.182,
"s": 74.576,
"l": 23.137
},
"oklch": {
"l": 0.45795,
"c": 0.13016,
"h": 137.2
},
"luminance": 0.10339
}Semantic roles & 50–950 ramp
primary
#2F670F
secondary
#7832A0
accent
#37F1AD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78