#7F7112#7F7112
#7F7112 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.108 H 100.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7112 |
|---|---|
| RGB | rgb(127, 113, 18) |
| HSL | hsl(52, 75%, 28%) |
| HSV | hsv(52, 86%, 50%) |
| CMYK | cmyk(0%, 11%, 85.8%, 50.2%) |
| CIE-LAB | lab(47.45, -4.70, 49.31) |
| CIE-LCH | lch(47.45, 49.53, 95.45°) |
| OKLab | oklab(54.54% -0.0189 0.1059) |
| OKLCH | oklch(54.54% 0.108 100.1) |
| XYZ | xyz(14.7675, 16.3667, 2.9534) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.22
Brown Green
#706C11
ΔE00 4.26
Hazel
#8E7618
ΔE00 4.27
Browny Green
#6F6C0A
ΔE00 4.49
Poo
#8F7303
ΔE00 5.04
Puke Brown
#947706
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7112 #12207F
analogous
#7F3B12 #7F7112 #567F12
triadic
#7F7112 #127F71 #71127F
tetradic
#7F7112 #127F3B #12207F #7F1256
square
#7F7112 #127F3B #12207F #7F1256
split-complementary
#7F7112 #12567F #3B127F
monochromatic
#1B1804 #49410A #7F7112 #B5A11A #E1C92B
Accessibility & contrast
On white
4.91
#7F7112 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7F7112 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7112
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7112 | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#81731A
Tritanopia (blue-blind)
#8A6860
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f7112; /* rgb */ color: rgb(127, 113, 18); /* oklch */ color: oklch(54.5% 0.108 100.1);
Tailwind
colors: {
custom: {
50: '#a8995b',
500: '#7f7112',
950: '#000000',
},
}SCSS
$custom: #7f7112; $custom-light: #a8995b; $custom-dark: #000000;
JSON
{
"hex": "#7f7112",
"rgb": {
"r": 127,
"g": 113,
"b": 18
},
"hsl": {
"h": 52.294,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.54541,
"c": 0.1076,
"h": 100.1
},
"luminance": 0.16366
}Semantic roles & 50–950 ramp
primary
#7F7112
secondary
#3848B5
accent
#4EF236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79