#7F7614#7F7614
#7F7614 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.111 H 103.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7614 |
|---|---|
| RGB | rgb(127, 118, 20) |
| HSL | hsl(55, 73%, 29%) |
| HSV | hsv(55, 84%, 50%) |
| CMYK | cmyk(0%, 7.1%, 84.3%, 50.2%) |
| CIE-LAB | lab(48.91, -7.45, 49.97) |
| CIE-LCH | lch(48.91, 50.52, 98.48°) |
| OKLab | oklab(55.7% -0.0264 0.1078) |
| OKLCH | oklch(55.7% 0.111 103.8) |
| XYZ | xyz(15.3578, 17.5201, 3.2344) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.15
Olive
#808000
ΔE00 4.51
Brown Green
#706C11
ΔE00 4.59
Browny Green
#6F6C0A
ΔE00 4.69
Hazel
#8E7618
ΔE00 5.07
Olive (survey)
#6E750E
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7614 #141D7F
analogous
#7F4114 #7F7614 #537F14
triadic
#7F7614 #147F76 #76147F
tetradic
#7F7614 #147F41 #141D7F #7F1453
square
#7F7614 #147F41 #141D7F #7F1453
split-complementary
#7F7614 #14537F #41147F
monochromatic
#1A1904 #4A450C #7F7614 #B4A71C #DED02F
Accessibility & contrast
On white
4.66
#7F7614 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7F7614 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7614
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7614 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7614 | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#896D64
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f7614; /* rgb */ color: rgb(127, 118, 20); /* oklch */ color: oklch(55.7% 0.111 103.8);
Tailwind
colors: {
custom: {
50: '#a89d5c',
500: '#7f7614',
950: '#000000',
},
}SCSS
$custom: #7f7614; $custom-light: #a89d5c; $custom-dark: #000000;
JSON
{
"hex": "#7f7614",
"rgb": {
"r": 127,
"g": 118,
"b": 20
},
"hsl": {
"h": 54.953,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.55702,
"c": 0.11097,
"h": 103.8
},
"luminance": 0.17519
}Semantic roles & 50–950 ramp
primary
#7F7614
secondary
#3B45B4
accent
#48EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79