#7F7B17#7F7B17
#7F7B17 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.114 H 107.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7B17 |
|---|---|
| RGB | rgb(127, 123, 23) |
| HSL | hsl(58, 69%, 29%) |
| HSV | hsv(58, 82%, 50%) |
| CMYK | cmyk(0%, 3.1%, 81.9%, 50.2%) |
| CIE-LAB | lab(50.38, -10.11, 50.35) |
| CIE-LCH | lch(50.38, 51.35, 101.35°) |
| OKLab | oklab(56.88% -0.0336 0.1092) |
| OKLCH | oklch(56.88% 0.114 107.1) |
| XYZ | xyz(15.9907, 18.7404, 3.5854) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.61
Ugly Brown
#7D7103
ΔE00 4.26
Shit Green
#758000
ΔE00 4.37
Olive (survey)
#6E750E
ΔE00 4.56
Poop Green
#6F7C00
ΔE00 4.86
Murky Green
#6C7A0E
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7B17 #171B7F
analogous
#7F4717 #7F7B17 #4F7F17
triadic
#7F7B17 #177F7B #7B177F
tetradic
#7F7B17 #177F47 #171B7F #7F174F
square
#7F7B17 #177F47 #171B7F #7F174F
split-complementary
#7F7B17 #174F7F #47177F
monochromatic
#1A1905 #4B490E #7F7B17 #B3AD20 #DBD436
Accessibility & contrast
On white
4.42
#7F7B17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7F7B17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7B17
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7B17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7B17 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#887A20
Tritanopia (blue-blind)
#897269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f7b17; /* rgb */ color: rgb(127, 123, 23); /* oklch */ color: oklch(56.9% 0.114 107.1);
Tailwind
colors: {
custom: {
50: '#a8a05e',
500: '#7f7b17',
950: '#000000',
},
}SCSS
$custom: #7f7b17; $custom-light: #a8a05e; $custom-dark: #000000;
JSON
{
"hex": "#7f7b17",
"rgb": {
"r": 127,
"g": 123,
"b": 23
},
"hsl": {
"h": 57.692,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.5688,
"c": 0.11425,
"h": 107.1
},
"luminance": 0.1874
}Semantic roles & 50–950 ramp
primary
#7F7B17
secondary
#3E43B4
accent
#42EC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79