#30660F#30660F
#30660F is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.6% C 0.128 H 136.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #30660F |
|---|---|
| RGB | rgb(48, 102, 15) |
| HSL | hsl(97, 74%, 23%) |
| HSV | hsv(97, 85%, 40%) |
| CMYK | cmyk(52.9%, 0%, 85.3%, 60%) |
| CIE-LAB | lab(38.14, -33.64, 39.75) |
| CIE-LCH | lch(38.14, 52.08, 130.24°) |
| OKLab | oklab(45.56% -0.0936 0.0878) |
| OKLCH | oklch(45.56% 0.128 136.8) |
| XYZ | xyz(6.0563, 10.1652, 2.0948) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.91
Deep Green
#02590F
ΔE00 6.21
Camouflage Green
#4B6113
ΔE00 6.29
Forest
#0B5509
ΔE00 6.63
Navy Green
#35530A
ΔE00 6.83
Forest Green
#2D5A27
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30660F #450F66
analogous
#5B660F #30660F #0F6619
triadic
#30660F #0F3066 #660F30
tetradic
#30660F #0F5B66 #450F66 #66190F
square
#30660F #0F5B66 #450F66 #66190F
split-complementary
#30660F #190F66 #660F5B
monochromatic
#0D1B04 #173107 #30660F #499B17 #62D11F
Accessibility & contrast
On white
6.92
#30660F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#30660F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #30660F
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30660F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30660F | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#2D6256
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #30660f; /* rgb */ color: rgb(48, 102, 15); /* oklch */ color: oklch(45.6% 0.128 136.8);
Tailwind
colors: {
custom: {
50: '#6f9256',
500: '#30660f',
950: '#000000',
},
}SCSS
$custom: #30660f; $custom-light: #6f9256; $custom-dark: #000000;
JSON
{
"hex": "#30660f",
"rgb": {
"r": 48,
"g": 102,
"b": 15
},
"hsl": {
"h": 97.241,
"s": 74.359,
"l": 22.941
},
"oklch": {
"l": 0.45555,
"c": 0.12835,
"h": 136.8
},
"luminance": 0.10166
}Semantic roles & 50–950 ramp
primary
#30660F
secondary
#76329F
accent
#37F1AA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78