#7F7612#7F7612
#7F7612 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.112 H 103.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7612 |
|---|---|
| RGB | rgb(127, 118, 18) |
| HSL | hsl(55, 75%, 28%) |
| HSV | hsv(55, 86%, 50%) |
| CMYK | cmyk(0%, 7.1%, 85.8%, 50.2%) |
| CIE-LAB | lab(48.90, -7.51, 50.54) |
| CIE-LCH | lch(48.90, 51.09, 98.45°) |
| OKLab | oklab(55.69% -0.0267 0.1086) |
| OKLCH | oklch(55.69% 0.112 103.8) |
| XYZ | xyz(15.3407, 17.5132, 3.1445) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.09
Olive
#808000
ΔE00 4.45
Brown Green
#706C11
ΔE00 4.63
Browny Green
#6F6C0A
ΔE00 4.71
Hazel
#8E7618
ΔE00 5.08
Olive (survey)
#6E750E
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7612 #121B7F
analogous
#7F3F12 #7F7612 #517F12
triadic
#7F7612 #127F76 #76127F
tetradic
#7F7612 #127F3F #121B7F #7F1251
square
#7F7612 #127F3F #121B7F #7F1251
split-complementary
#7F7612 #12517F #3F127F
monochromatic
#1B1904 #49440A #7F7612 #B5A81A #E1D22B
Accessibility & contrast
On white
4.66
#7F7612 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7F7612 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7612
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7612 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7612 | 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)
#84761B
Tritanopia (blue-blind)
#896D64
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f7612; /* rgb */ color: rgb(127, 118, 18); /* oklch */ color: oklch(55.7% 0.112 103.8);
Tailwind
colors: {
custom: {
50: '#a89d5c',
500: '#7f7612',
950: '#000000',
},
}SCSS
$custom: #7f7612; $custom-light: #a89d5c; $custom-dark: #000000;
JSON
{
"hex": "#7f7612",
"rgb": {
"r": 127,
"g": 118,
"b": 18
},
"hsl": {
"h": 55.046,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.55692,
"c": 0.11185,
"h": 103.8
},
"luminance": 0.17513
}Semantic roles & 50–950 ramp
primary
#7F7612
secondary
#3842B5
accent
#46F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79