#7E781D#7E781D
#7E781D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.108 H 105.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E781D |
|---|---|
| RGB | rgb(126, 120, 29) |
| HSL | hsl(56, 63%, 30%) |
| HSV | hsv(56, 77%, 49%) |
| CMYK | cmyk(0%, 4.8%, 77%, 50.6%) |
| CIE-LAB | lab(49.45, -8.67, 47.42) |
| CIE-LCH | lch(49.45, 48.21, 100.36°) |
| OKLab | oklab(56.12% -0.0289 0.1042) |
| OKLCH | oklch(56.12% 0.108 105.5) |
| XYZ | xyz(15.5431, 17.9579, 3.8096) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.43
Olive
#808000
ΔE00 4.06
Olive (survey)
#6E750E
ΔE00 4.47
Brown Green
#706C11
ΔE00 4.81
Browny Green
#6F6C0A
ΔE00 4.95
Shit Green
#758000
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E781D #1D237E
analogous
#7E481D #7E781D #537E1D
triadic
#7E781D #1D7E78 #781D7E
tetradic
#7E781D #1D7E48 #1D237E #7E1D53
square
#7E781D #1D7E48 #1D237E #7E1D53
split-complementary
#7E781D #1D537E #481D7E
monochromatic
#1B1906 #4C4912 #7E781D #B0A728 #D3CA42
Accessibility & contrast
On white
4.57
#7E781D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7E781D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E781D
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E781D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E781D | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730A
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#886F67
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e781d; /* rgb */ color: rgb(126, 120, 29); /* oklch */ color: oklch(56.1% 0.108 105.5);
Tailwind
colors: {
custom: {
50: '#a79e61',
500: '#7e781d',
950: '#000000',
},
}SCSS
$custom: #7e781d; $custom-light: #a79e61; $custom-dark: #000000;
JSON
{
"hex": "#7e781d",
"rgb": {
"r": 126,
"g": 120,
"b": 29
},
"hsl": {
"h": 56.289,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.56121,
"c": 0.10816,
"h": 105.5
},
"luminance": 0.17957
}Semantic roles & 50–950 ramp
primary
#7E781D
secondary
#454CB1
accent
#4CE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79