#7F7F15#7F7F15
#7F7F15 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.119 H 109.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7F15 |
|---|---|
| RGB | rgb(127, 127, 21) |
| HSL | hsl(60, 72%, 29%) |
| HSV | hsv(60, 83%, 50%) |
| CMYK | cmyk(0%, 0%, 83.5%, 50.2%) |
| CIE-LAB | lab(51.55, -12.36, 51.96) |
| CIE-LCH | lch(51.55, 53.41, 103.38°) |
| OKLab | oklab(57.81% -0.04 0.1123) |
| OKLCH | oklch(57.81% 0.119 109.6) |
| XYZ | xyz(16.4778, 19.7454, 3.6526) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.42
Shit Green
#758000
ΔE00 3.08
Poop Green
#6F7C00
ΔE00 4.13
Swamp Green
#748500
ΔE00 4.60
Olive (survey)
#6E750E
ΔE00 4.93
Murky Green
#6C7A0E
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7F15 #15157F
analogous
#7F4A15 #7F7F15 #4A7F15
triadic
#7F7F15 #157F7F #7F157F
tetradic
#7F7F15 #157F4A #15157F #7F154A
square
#7F7F15 #157F4A #15157F #7F154A
split-complementary
#7F7F15 #154A7F #4A157F
monochromatic
#1A1A04 #4A4A0C #7F7F15 #B4B41E #DDDD31
Accessibility & contrast
On white
4.24
#7F7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7F7F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7F15
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7F15 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f7f15; /* rgb */ color: rgb(127, 127, 21); /* oklch */ color: oklch(57.8% 0.119 109.6);
Tailwind
colors: {
custom: {
50: '#a8a35e',
500: '#7f7f15',
950: '#000000',
},
}SCSS
$custom: #7f7f15; $custom-light: #a8a35e; $custom-dark: #000000;
JSON
{
"hex": "#7f7f15",
"rgb": {
"r": 127,
"g": 127,
"b": 21
},
"hsl": {
"h": 60,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.57808,
"c": 0.1192,
"h": 109.6
},
"luminance": 0.19745
}Semantic roles & 50–950 ramp
primary
#7F7F15
secondary
#3C3CB4
accent
#39EE39
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79