#2F660F#2F660F
#2F660F is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.129 H 137.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F660F |
|---|---|
| RGB | rgb(47, 102, 15) |
| HSL | hsl(98, 74%, 23%) |
| HSV | hsv(98, 85%, 40%) |
| CMYK | cmyk(53.9%, 0%, 85.3%, 60%) |
| CIE-LAB | lab(38.09, -33.97, 39.69) |
| CIE-LCH | lch(38.09, 52.25, 130.56°) |
| OKLab | oklab(45.51% -0.0944 0.0877) |
| OKLCH | oklch(45.51% 0.129 137.1) |
| XYZ | xyz(6.0097, 10.1411, 2.0926) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.76
Deep Green
#02590F
ΔE00 6.10
Camouflage Green
#4B6113
ΔE00 6.44
Forest
#0B5509
ΔE00 6.54
Navy Green
#35530A
ΔE00 6.89
Forest Green
#2D5A27
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F660F #460F66
analogous
#5A660F #2F660F #0F661A
triadic
#2F660F #0F2F66 #660F2F
tetradic
#2F660F #0F5A66 #460F66 #661A0F
square
#2F660F #0F5A66 #460F66 #661A0F
split-complementary
#2F660F #1A0F66 #660F5A
monochromatic
#0C1B04 #163107 #2F660F #489B17 #60D11F
Accessibility & contrast
On white
6.93
#2F660F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2F660F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F660F
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F660F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F660F | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#2B6256
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f660f; /* rgb */ color: rgb(47, 102, 15); /* oklch */ color: oklch(45.5% 0.129 137.1);
Tailwind
colors: {
custom: {
50: '#6e9256',
500: '#2f660f',
950: '#000000',
},
}SCSS
$custom: #2f660f; $custom-light: #6e9256; $custom-dark: #000000;
JSON
{
"hex": "#2f660f",
"rgb": {
"r": 47,
"g": 102,
"b": 15
},
"hsl": {
"h": 97.931,
"s": 74.359,
"l": 22.941
},
"oklch": {
"l": 0.45508,
"c": 0.12887,
"h": 137.1
},
"luminance": 0.10142
}Semantic roles & 50–950 ramp
primary
#2F660F
secondary
#77329F
accent
#37F1AD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78