#7F7115#7F7115
#7F7115 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.106 H 99.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7115 |
|---|---|
| RGB | rgb(127, 113, 21) |
| HSL | hsl(52, 72%, 29%) |
| HSV | hsv(52, 83%, 50%) |
| CMYK | cmyk(0%, 11%, 83.5%, 50.2%) |
| CIE-LAB | lab(47.47, -4.60, 48.41) |
| CIE-LCH | lch(47.47, 48.63, 95.43°) |
| OKLab | oklab(54.56% -0.0183 0.1046) |
| OKLCH | oklch(54.56% 0.106 99.9) |
| XYZ | xyz(14.7936, 16.3772, 3.0912) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.46
Brown Green
#706C11
ΔE00 4.23
Hazel
#8E7618
ΔE00 4.27
Browny Green
#6F6C0A
ΔE00 4.49
Poo
#8F7303
ΔE00 5.10
Puke Brown
#947706
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7115 #15237F
analogous
#7F3C15 #7F7115 #587F15
triadic
#7F7115 #157F71 #71157F
tetradic
#7F7115 #157F3C #15237F #7F1558
square
#7F7115 #157F3C #15237F #7F1558
split-complementary
#7F7115 #15587F #3C157F
monochromatic
#1A1704 #4A420C #7F7115 #B4A01E #DDC631
Accessibility & contrast
On white
4.91
#7F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#7F7115 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7115
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7115 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7115 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 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)
#81731C
Tritanopia (blue-blind)
#8A6860
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f7115; /* rgb */ color: rgb(127, 113, 21); /* oklch */ color: oklch(54.6% 0.106 99.9);
Tailwind
colors: {
custom: {
50: '#a8995c',
500: '#7f7115',
950: '#000000',
},
}SCSS
$custom: #7f7115; $custom-light: #a8995c; $custom-dark: #000000;
JSON
{
"hex": "#7f7115",
"rgb": {
"r": 127,
"g": 113,
"b": 21
},
"hsl": {
"h": 52.075,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.54556,
"c": 0.10621,
"h": 99.9
},
"luminance": 0.16376
}Semantic roles & 50–950 ramp
primary
#7F7115
secondary
#3C4CB4
accent
#51EE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79