#7F7417#7F7417
#7F7417 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.108 H 102.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7417 |
|---|---|
| RGB | rgb(127, 116, 23) |
| HSL | hsl(54, 69%, 29%) |
| HSV | hsv(54, 82%, 50%) |
| CMYK | cmyk(0%, 8.7%, 81.9%, 50.2%) |
| CIE-LAB | lab(48.34, -6.22, 48.54) |
| CIE-LCH | lch(48.34, 48.94, 97.30°) |
| OKLab | oklab(55.26% -0.0227 0.1053) |
| OKLCH | oklch(55.26% 0.108 102.2) |
| XYZ | xyz(15.1532, 17.0654, 3.3062) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.69
Brown Green
#706C11
ΔE00 4.26
Browny Green
#6F6C0A
ΔE00 4.46
Hazel
#8E7618
ΔE00 4.64
Olive
#808000
ΔE00 5.52
Olive (survey)
#6E750E
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7417 #17227F
analogous
#7F4017 #7F7417 #567F17
triadic
#7F7417 #177F74 #74177F
tetradic
#7F7417 #177F40 #17227F #7F1756
square
#7F7417 #177F40 #17227F #7F1756
split-complementary
#7F7417 #17567F #40177F
monochromatic
#1A1805 #4B450E #7F7417 #B3A320 #DBC936
Accessibility & contrast
On white
4.76
#7F7417 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#7F7417 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7417
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7417 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7417 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7417; /* rgb */ color: rgb(127, 116, 23); /* oklch */ color: oklch(55.3% 0.108 102.2);
Tailwind
colors: {
custom: {
50: '#a89b5d',
500: '#7f7417',
950: '#000000',
},
}SCSS
$custom: #7f7417; $custom-light: #a89b5d; $custom-dark: #000000;
JSON
{
"hex": "#7f7417",
"rgb": {
"r": 127,
"g": 116,
"b": 23
},
"hsl": {
"h": 53.654,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.55256,
"c": 0.10773,
"h": 102.2
},
"luminance": 0.17065
}Semantic roles & 50–950 ramp
primary
#7F7417
secondary
#3E4BB4
accent
#4EEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79