#7D7C1A#7D7C1A
#7D7C1A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.114 H 108.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7C1A |
|---|---|
| RGB | rgb(125, 124, 26) |
| HSL | hsl(59, 66%, 30%) |
| HSV | hsv(59, 79%, 49%) |
| CMYK | cmyk(0%, 0.8%, 79.2%, 51%) |
| CIE-LAB | lab(50.51, -11.46, 49.43) |
| CIE-LCH | lch(50.51, 50.74, 103.06°) |
| OKLab | oklab(56.95% -0.037 0.1079) |
| OKLCH | oklch(56.95% 0.114 108.9) |
| XYZ | xyz(15.8522, 18.8504, 3.7805) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.54
Shit Green
#758000
ΔE00 3.61
Olive (survey)
#6E750E
ΔE00 4.07
Poop Green
#6F7C00
ΔE00 4.08
Murky Green
#6C7A0E
ΔE00 4.60
Ugly Brown
#7D7103
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7C1A #1A1B7D
analogous
#7D4B1A #7D7C1A #4D7D1A
triadic
#7D7C1A #1A7D7C #7C1A7D
tetradic
#7D7C1A #1A7D4B #1A1B7D #7D1A4D
square
#7D7C1A #1A7D4B #1A1B7D #7D1A4D
split-complementary
#7D7C1A #1A4D7D #4B1A7D
monochromatic
#191905 #4A4A0F #7D7C1A #B0AE25 #D6D53B
Accessibility & contrast
On white
4.40
#7D7C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7D7C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7C1A
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7C1A | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 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)
#877701
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d7c1a; /* rgb */ color: rgb(125, 124, 26); /* oklch */ color: oklch(56.9% 0.114 108.9);
Tailwind
colors: {
custom: {
50: '#a6a160',
500: '#7d7c1a',
950: '#000000',
},
}SCSS
$custom: #7d7c1a; $custom-light: #a6a160; $custom-dark: #000000;
JSON
{
"hex": "#7d7c1a",
"rgb": {
"r": 125,
"g": 124,
"b": 26
},
"hsl": {
"h": 59.394,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.56945,
"c": 0.11409,
"h": 108.9
},
"luminance": 0.1885
}Semantic roles & 50–950 ramp
primary
#7D7C1A
secondary
#4243B1
accent
#41E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79