#31660F#31660F
#31660F is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.6% C 0.128 H 136.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #31660F |
|---|---|
| RGB | rgb(49, 102, 15) |
| HSL | hsl(97, 74%, 23%) |
| HSV | hsv(97, 85%, 40%) |
| CMYK | cmyk(52%, 0%, 85.3%, 60%) |
| CIE-LAB | lab(38.18, -33.31, 39.81) |
| CIE-LCH | lch(38.18, 51.90, 129.92°) |
| OKLab | oklab(45.6% -0.0927 0.0879) |
| OKLCH | oklch(45.6% 0.128 136.5) |
| XYZ | xyz(6.1040, 10.1898, 2.0970) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.05
Camouflage Green
#4B6113
ΔE00 6.14
Deep Green
#02590F
ΔE00 6.33
Forest
#0B5509
ΔE00 6.72
Navy Green
#35530A
ΔE00 6.78
Forest Green
#2D5A27
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31660F #440F66
analogous
#5C660F #31660F #0F6619
triadic
#31660F #0F3166 #660F31
tetradic
#31660F #0F5C66 #440F66 #66190F
square
#31660F #0F5C66 #440F66 #66190F
split-complementary
#31660F #190F66 #660F5C
monochromatic
#0D1B04 #173107 #31660F #4B9B17 #64D11F
Accessibility & contrast
On white
6.91
#31660F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#31660F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31660F
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31660F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31660F | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#2E6256
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #31660f; /* rgb */ color: rgb(49, 102, 15); /* oklch */ color: oklch(45.6% 0.128 136.5);
Tailwind
colors: {
custom: {
50: '#6f9256',
500: '#31660f',
950: '#000000',
},
}SCSS
$custom: #31660f; $custom-light: #6f9256; $custom-dark: #000000;
JSON
{
"hex": "#31660f",
"rgb": {
"r": 49,
"g": 102,
"b": 15
},
"hsl": {
"h": 96.552,
"s": 74.359,
"l": 22.941
},
"oklch": {
"l": 0.45603,
"c": 0.12781,
"h": 136.5
},
"luminance": 0.1019
}Semantic roles & 50–950 ramp
primary
#31660F
secondary
#74329F
accent
#37F1A8
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78