#7F7D17#7F7D17
#7F7D17 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.116 H 108.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D17 |
|---|---|
| RGB | rgb(127, 125, 23) |
| HSL | hsl(59, 69%, 29%) |
| HSV | hsv(59, 82%, 50%) |
| CMYK | cmyk(0%, 1.6%, 81.9%, 50.2%) |
| CIE-LAB | lab(50.97, -11.20, 50.87) |
| CIE-LCH | lch(50.97, 52.08, 102.42°) |
| OKLab | oklab(57.35% -0.0366 0.1103) |
| OKLCH | oklch(57.35% 0.116 108.4) |
| XYZ | xyz(16.2413, 19.2417, 3.6689) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.97
Shit Green
#758000
ΔE00 3.69
Poop Green
#6F7C00
ΔE00 4.42
Olive (survey)
#6E750E
ΔE00 4.65
Murky Green
#6C7A0E
ΔE00 5.10
Ugly Brown
#7D7103
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D17 #17197F
analogous
#7F4917 #7F7D17 #4D7F17
triadic
#7F7D17 #177F7D #7D177F
tetradic
#7F7D17 #177F49 #17197F #7F174D
square
#7F7D17 #177F49 #17197F #7F174D
split-complementary
#7F7D17 #174D7F #49177F
monochromatic
#1A1905 #4B4A0E #7F7D17 #B3B020 #DBD736
Accessibility & contrast
On white
4.33
#7F7D17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7F7D17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D17
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D17 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#89746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7d17; /* rgb */ color: rgb(127, 125, 23); /* oklch */ color: oklch(57.3% 0.116 108.4);
Tailwind
colors: {
custom: {
50: '#a8a25f',
500: '#7f7d17',
950: '#000000',
},
}SCSS
$custom: #7f7d17; $custom-light: #a8a25f; $custom-dark: #000000;
JSON
{
"hex": "#7f7d17",
"rgb": {
"r": 127,
"g": 125,
"b": 23
},
"hsl": {
"h": 58.846,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.57348,
"c": 0.11623,
"h": 108.4
},
"luminance": 0.19241
}Semantic roles & 50–950 ramp
primary
#7F7D17
secondary
#3E40B4
accent
#3FEC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79