#7F7712#7F7712
#7F7712 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.9% C 0.113 H 104.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7712 |
|---|---|
| RGB | rgb(127, 119, 18) |
| HSL | hsl(56, 75%, 28%) |
| HSV | hsv(56, 86%, 50%) |
| CMYK | cmyk(0%, 6.3%, 85.8%, 50.2%) |
| CIE-LAB | lab(49.19, -8.07, 50.78) |
| CIE-LCH | lch(49.19, 51.42, 99.03°) |
| OKLab | oklab(55.92% -0.0283 0.1091) |
| OKLCH | oklch(55.92% 0.113 104.5) |
| XYZ | xyz(15.4591, 17.7500, 3.1839) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.49
Olive
#808000
ΔE00 4.01
Brown Green
#706C11
ΔE00 4.84
Browny Green
#6F6C0A
ΔE00 4.89
Olive (survey)
#6E750E
ΔE00 4.96
Hazel
#8E7618
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7712 #121A7F
analogous
#7F4012 #7F7712 #507F12
triadic
#7F7712 #127F77 #77127F
tetradic
#7F7712 #127F40 #121A7F #7F1250
square
#7F7712 #127F40 #121A7F #7F1250
split-complementary
#7F7712 #12507F #40127F
monochromatic
#1B1904 #49450A #7F7712 #B5A91A #E1D32B
Accessibility & contrast
On white
4.62
#7F7712 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7F7712 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7712
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7712 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85771B
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f7712; /* rgb */ color: rgb(127, 119, 18); /* oklch */ color: oklch(55.9% 0.113 104.5);
Tailwind
colors: {
custom: {
50: '#a89d5c',
500: '#7f7712',
950: '#000000',
},
}SCSS
$custom: #7f7712; $custom-light: #a89d5c; $custom-dark: #000000;
JSON
{
"hex": "#7f7712",
"rgb": {
"r": 127,
"g": 119,
"b": 18
},
"hsl": {
"h": 55.596,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.55924,
"c": 0.11275,
"h": 104.5
},
"luminance": 0.17749
}Semantic roles & 50–950 ramp
primary
#7F7712
secondary
#3841B5
accent
#44F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79