#7F7412#7F7412
#7F7412 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.110 H 102.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7412 |
|---|---|
| RGB | rgb(127, 116, 18) |
| HSL | hsl(54, 75%, 28%) |
| HSV | hsv(54, 86%, 50%) |
| CMYK | cmyk(0%, 8.7%, 85.8%, 50.2%) |
| CIE-LAB | lab(48.32, -6.39, 50.04) |
| CIE-LCH | lch(48.32, 50.45, 97.28°) |
| OKLab | oklab(55.23% -0.0236 0.1075) |
| OKLCH | oklch(55.23% 0.11 102.4) |
| XYZ | xyz(15.1077, 17.0472, 3.0668) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.38
Brown Green
#706C11
ΔE00 4.33
Browny Green
#6F6C0A
ΔE00 4.47
Hazel
#8E7618
ΔE00 4.65
Olive
#808000
ΔE00 5.35
Olive (survey)
#6E750E
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7412 #121D7F
analogous
#7F3D12 #7F7412 #537F12
triadic
#7F7412 #127F74 #74127F
tetradic
#7F7412 #127F3D #121D7F #7F1253
square
#7F7412 #127F3D #121D7F #7F1253
split-complementary
#7F7412 #12537F #3D127F
monochromatic
#1B1804 #49430A #7F7412 #B5A51A #E1CE2B
Accessibility & contrast
On white
4.76
#7F7412 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#7F7412 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7412
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7412 | 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)
#83751B
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7412; /* rgb */ color: rgb(127, 116, 18); /* oklch */ color: oklch(55.2% 0.110 102.4);
Tailwind
colors: {
custom: {
50: '#a89b5b',
500: '#7f7412',
950: '#000000',
},
}SCSS
$custom: #7f7412; $custom-light: #a89b5b; $custom-dark: #000000;
JSON
{
"hex": "#7f7412",
"rgb": {
"r": 127,
"g": 116,
"b": 18
},
"hsl": {
"h": 53.945,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.5523,
"c": 0.11009,
"h": 102.4
},
"luminance": 0.17046
}Semantic roles & 50–950 ramp
primary
#7F7412
secondary
#3845B5
accent
#49F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79