#7D801A#7D801A
#7D801A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.118 H 111.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7D801A |
|---|---|
| RGB | rgb(125, 128, 26) |
| HSL | hsl(62, 66%, 30%) |
| HSV | hsv(62, 80%, 50%) |
| CMYK | cmyk(2.3%, 0%, 79.7%, 49.8%) |
| CIE-LAB | lab(51.69, -13.63, 50.50) |
| CIE-LCH | lch(51.69, 52.31, 105.10°) |
| OKLab | oklab(57.89% -0.043 0.1102) |
| OKLCH | oklch(57.89% 0.118 111.3) |
| XYZ | xyz(16.3636, 19.8733, 3.9510) |
| Luminance | 0.1987 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.14
Shit Green
#758000
ΔE00 2.51
Poop Green
#6F7C00
ΔE00 3.60
Swamp Green
#748500
ΔE00 3.86
Murky Green
#6C7A0E
ΔE00 4.36
Olive (survey)
#6E750E
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D801A #1D1A80
analogous
#80501A #7D801A #4A801A
triadic
#7D801A #1A7D80 #801A7D
tetradic
#7D801A #1A8050 #1D1A80 #801A4A
square
#7D801A #1A8050 #1D1A80 #801A4A
split-complementary
#7D801A #1A4A80 #501A80
monochromatic
#1A1A05 #4B4D10 #7D801A #AFB324 #D3D83D
Accessibility & contrast
On white
4.22
#7D801A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#7D801A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D801A
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D801A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D801A | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#86786D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7d801a; /* rgb */ color: rgb(125, 128, 26); /* oklch */ color: oklch(57.9% 0.118 111.3);
Tailwind
colors: {
custom: {
50: '#a6a460',
500: '#7d801a',
950: '#000000',
},
}SCSS
$custom: #7d801a; $custom-light: #a6a460; $custom-dark: #000000;
JSON
{
"hex": "#7d801a",
"rgb": {
"r": 125,
"g": 128,
"b": 26
},
"hsl": {
"h": 61.765,
"s": 66.234,
"l": 30.196
},
"oklch": {
"l": 0.5789,
"c": 0.1183,
"h": 111.3
},
"luminance": 0.19873
}Semantic roles & 50–950 ramp
primary
#7D801A
secondary
#4542B4
accent
#3FE944
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79