#7F7515#7F7515
#7F7515 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.110 H 103.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7515 |
|---|---|
| RGB | rgb(127, 117, 21) |
| HSL | hsl(54, 72%, 29%) |
| HSV | hsv(54, 83%, 50%) |
| CMYK | cmyk(0%, 7.9%, 83.5%, 50.2%) |
| CIE-LAB | lab(48.62, -6.85, 49.42) |
| CIE-LCH | lch(48.62, 49.89, 97.89°) |
| OKLab | oklab(55.48% -0.0247 0.1068) |
| OKLCH | oklch(55.48% 0.11 103) |
| XYZ | xyz(15.2498, 17.2894, 3.2432) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.84
Brown Green
#706C11
ΔE00 4.41
Browny Green
#6F6C0A
ΔE00 4.55
Hazel
#8E7618
ΔE00 4.84
Olive
#808000
ΔE00 4.99
Olive (survey)
#6E750E
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7515 #151F7F
analogous
#7F4015 #7F7515 #547F15
triadic
#7F7515 #157F75 #75157F
tetradic
#7F7515 #157F40 #151F7F #7F1554
square
#7F7515 #157F40 #151F7F #7F1554
split-complementary
#7F7515 #15547F #40157F
monochromatic
#1A1804 #4A450C #7F7515 #B4A51E #DDCD31
Accessibility & contrast
On white
4.71
#7F7515 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7F7515 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7515
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7515 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84751D
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7515; /* rgb */ color: rgb(127, 117, 21); /* oklch */ color: oklch(55.5% 0.110 103.0);
Tailwind
colors: {
custom: {
50: '#a89c5d',
500: '#7f7515',
950: '#000000',
},
}SCSS
$custom: #7f7515; $custom-light: #a89c5d; $custom-dark: #000000;
JSON
{
"hex": "#7f7515",
"rgb": {
"r": 127,
"g": 117,
"b": 21
},
"hsl": {
"h": 54.34,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.55476,
"c": 0.10961,
"h": 103
},
"luminance": 0.17289
}Semantic roles & 50–950 ramp
primary
#7F7515
secondary
#3C47B4
accent
#4BEE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79