#7D7815#7D7815
#7D7815 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.113 H 106.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7815 |
|---|---|
| RGB | rgb(125, 120, 21) |
| HSL | hsl(57, 71%, 29%) |
| HSV | hsv(57, 83%, 49%) |
| CMYK | cmyk(0%, 4%, 83.2%, 51%) |
| CIE-LAB | lab(49.31, -9.46, 49.95) |
| CIE-LCH | lch(49.31, 50.84, 100.73°) |
| OKLab | oklab(55.98% -0.0319 0.108) |
| OKLCH | oklch(55.98% 0.113 106.4) |
| XYZ | xyz(15.3099, 17.8476, 3.3478) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.28
Olive
#808000
ΔE00 3.54
Olive (survey)
#6E750E
ΔE00 4.15
Brown Green
#706C11
ΔE00 4.78
Browny Green
#6F6C0A
ΔE00 4.81
Shit Green
#758000
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7815 #151A7D
analogous
#7D4415 #7D7815 #4E7D15
triadic
#7D7815 #157D78 #78157D
tetradic
#7D7815 #157D44 #151A7D #7D154E
square
#7D7815 #157D44 #151A7D #7D154E
split-complementary
#7D7815 #154E7D #44157D
monochromatic
#1A1904 #49460C #7D7815 #B1AA1E #DCD430
Accessibility & contrast
On white
4.60
#7D7815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7D7815 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D7815
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D7815 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d7815; /* rgb */ color: rgb(125, 120, 21); /* oklch */ color: oklch(56.0% 0.113 106.4);
Tailwind
colors: {
custom: {
50: '#a69e5d',
500: '#7d7815',
950: '#000000',
},
}SCSS
$custom: #7d7815; $custom-light: #a69e5d; $custom-dark: #000000;
JSON
{
"hex": "#7d7815",
"rgb": {
"r": 125,
"g": 120,
"b": 21
},
"hsl": {
"h": 57.115,
"s": 71.233,
"l": 28.627
},
"oklch": {
"l": 0.55979,
"c": 0.11264,
"h": 106.4
},
"luminance": 0.17847
}Semantic roles & 50–950 ramp
primary
#7D7815
secondary
#3C41B2
accent
#42EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79