#7F7E15#7F7E15
#7F7E15 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.118 H 109.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7E15 |
|---|---|
| RGB | rgb(127, 126, 21) |
| HSL | hsl(59, 72%, 29%) |
| HSV | hsv(59, 83%, 50%) |
| CMYK | cmyk(0%, 0.8%, 83.5%, 50.2%) |
| CIE-LAB | lab(51.25, -11.82, 51.71) |
| CIE-LCH | lch(51.25, 53.04, 102.87°) |
| OKLab | oklab(57.57% -0.0385 0.1117) |
| OKLCH | oklch(57.57% 0.118 109) |
| XYZ | xyz(16.3493, 19.4884, 3.6097) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.58
Shit Green
#758000
ΔE00 3.35
Poop Green
#6F7C00
ΔE00 4.25
Olive (survey)
#6E750E
ΔE00 4.79
Swamp Green
#748500
ΔE00 4.97
Murky Green
#6C7A0E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7E15 #15167F
analogous
#7F4915 #7F7E15 #4B7F15
triadic
#7F7E15 #157F7E #7E157F
tetradic
#7F7E15 #157F49 #15167F #7F154B
square
#7F7E15 #157F49 #15167F #7F154B
split-complementary
#7F7E15 #154B7F #49157F
monochromatic
#1A1A04 #4A4A0C #7F7E15 #B4B21E #DDDB31
Accessibility & contrast
On white
4.29
#7F7E15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7F7E15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7E15
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7E15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7E15 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7C1F
Tritanopia (blue-blind)
#89756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7f7e15; /* rgb */ color: rgb(127, 126, 21); /* oklch */ color: oklch(57.6% 0.118 109.0);
Tailwind
colors: {
custom: {
50: '#a8a35e',
500: '#7f7e15',
950: '#000000',
},
}SCSS
$custom: #7f7e15; $custom-light: #a8a35e; $custom-dark: #000000;
JSON
{
"hex": "#7f7e15",
"rgb": {
"r": 127,
"g": 126,
"b": 21
},
"hsl": {
"h": 59.434,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.57573,
"c": 0.11818,
"h": 109
},
"luminance": 0.19488
}Semantic roles & 50–950 ramp
primary
#7F7E15
secondary
#3C3DB4
accent
#3BEE39
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79