#7D7C14#7D7C14
#7D7C14 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.117 H 109.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7C14 |
|---|---|
| RGB | rgb(125, 124, 20) |
| HSL | hsl(59, 72%, 28%) |
| HSV | hsv(59, 84%, 49%) |
| CMYK | cmyk(0%, 0.8%, 84%, 51%) |
| CIE-LAB | lab(50.48, -11.69, 51.26) |
| CIE-LCH | lch(50.48, 52.57, 102.85°) |
| OKLab | oklab(56.91% -0.0381 0.1107) |
| OKLCH | oklch(56.91% 0.117 109) |
| XYZ | xyz(15.7920, 18.8263, 3.4637) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.11
Shit Green
#758000
ΔE00 3.43
Poop Green
#6F7C00
ΔE00 3.99
Olive (survey)
#6E750E
ΔE00 4.12
Murky Green
#6C7A0E
ΔE00 4.65
Ugly Brown
#7D7103
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7C14 #14157D
analogous
#7D4714 #7D7C14 #497D14
triadic
#7D7C14 #147D7C #7C147D
tetradic
#7D7C14 #147D47 #14157D #7D1449
square
#7D7C14 #147D47 #14157D #7D1449
split-complementary
#7D7C14 #14497D #47147D
monochromatic
#1A1A04 #48480C #7D7C14 #B2B01C #DEDC2E
Accessibility & contrast
On white
4.41
#7D7C14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7D7C14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7C14
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7C14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7C14 | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#887A1E
Tritanopia (blue-blind)
#877369
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d7c14; /* rgb */ color: rgb(125, 124, 20); /* oklch */ color: oklch(56.9% 0.117 109.0);
Tailwind
colors: {
custom: {
50: '#a6a15d',
500: '#7d7c14',
950: '#000000',
},
}SCSS
$custom: #7d7c14; $custom-light: #a6a15d; $custom-dark: #000000;
JSON
{
"hex": "#7d7c14",
"rgb": {
"r": 125,
"g": 124,
"b": 20
},
"hsl": {
"h": 59.429,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.56913,
"c": 0.11705,
"h": 109
},
"luminance": 0.18826
}Semantic roles & 50–950 ramp
primary
#7D7C14
secondary
#3A3CB2
accent
#3AEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79