#7D7B14#7D7B14
#7D7B14 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.116 H 108.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7B14 |
|---|---|
| RGB | rgb(125, 123, 20) |
| HSL | hsl(59, 72%, 28%) |
| HSV | hsv(59, 84%, 49%) |
| CMYK | cmyk(0%, 1.6%, 84%, 51%) |
| CIE-LAB | lab(50.19, -11.14, 51.00) |
| CIE-LCH | lch(50.19, 52.21, 102.33°) |
| OKLab | oklab(56.68% -0.0366 0.1101) |
| OKLCH | oklch(56.68% 0.116 108.4) |
| XYZ | xyz(15.6673, 18.5769, 3.4221) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.41
Shit Green
#758000
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.05
Poop Green
#6F7C00
ΔE00 4.22
Ugly Brown
#7D7103
ΔE00 4.52
Murky Green
#6C7A0E
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7B14 #14167D
analogous
#7D4614 #7D7B14 #4A7D14
triadic
#7D7B14 #147D7B #7B147D
tetradic
#7D7B14 #147D46 #14167D #7D144A
square
#7D7B14 #147D46 #14167D #7D144A
split-complementary
#7D7B14 #144A7D #46147D
monochromatic
#1A1A04 #48470C #7D7B14 #B2AF1C #DEDA2E
Accessibility & contrast
On white
4.45
#7D7B14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7D7B14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7B14
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7B14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7B14 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#877269
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7d7b14; /* rgb */ color: rgb(125, 123, 20); /* oklch */ color: oklch(56.7% 0.116 108.4);
Tailwind
colors: {
custom: {
50: '#a6a05d',
500: '#7d7b14',
950: '#000000',
},
}SCSS
$custom: #7d7b14; $custom-light: #a6a05d; $custom-dark: #000000;
JSON
{
"hex": "#7d7b14",
"rgb": {
"r": 125,
"g": 123,
"b": 20
},
"hsl": {
"h": 58.857,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.56678,
"c": 0.11604,
"h": 108.4
},
"luminance": 0.18576
}Semantic roles & 50–950 ramp
primary
#7D7B14
secondary
#3A3DB2
accent
#3CEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79