#7D791E#7D791E
#7D791E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.109 H 106.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7D791E |
|---|---|
| RGB | rgb(125, 121, 30) |
| HSL | hsl(57, 61%, 30%) |
| HSV | hsv(57, 76%, 49%) |
| CMYK | cmyk(0%, 3.2%, 76%, 51%) |
| CIE-LAB | lab(49.65, -9.64, 47.21) |
| CIE-LCH | lch(49.65, 48.19, 101.54°) |
| OKLab | oklab(56.27% -0.0315 0.104) |
| OKLCH | oklch(56.27% 0.109 106.9) |
| XYZ | xyz(15.5298, 18.1290, 3.9093) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.75
Ugly Brown
#7D7103
ΔE00 4.02
Olive (survey)
#6E750E
ΔE00 4.07
Shit Green
#758000
ΔE00 4.90
Poop Green
#6F7C00
ΔE00 5.01
Brown Green
#706C11
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D791E #1E227D
analogous
#7D4A1E #7D791E #517D1E
triadic
#7D791E #1E7D79 #791E7D
tetradic
#7D791E #1E7D4A #1E227D #7D1E51
square
#7D791E #1E7D4A #1E227D #7D1E51
split-complementary
#7D791E #1E517D #4A1E7D
monochromatic
#1A1906 #4C4912 #7D791E #AEA92A #D2CC43
Accessibility & contrast
On white
4.54
#7D791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#7D791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D791E
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D791E | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d791e; /* rgb */ color: rgb(125, 121, 30); /* oklch */ color: oklch(56.3% 0.109 106.9);
Tailwind
colors: {
custom: {
50: '#a69f61',
500: '#7d791e',
950: '#000000',
},
}SCSS
$custom: #7d791e; $custom-light: #a69f61; $custom-dark: #000000;
JSON
{
"hex": "#7d791e",
"rgb": {
"r": 125,
"g": 121,
"b": 30
},
"hsl": {
"h": 57.474,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.56266,
"c": 0.10867,
"h": 106.9
},
"luminance": 0.18128
}Semantic roles & 50–950 ramp
primary
#7D791E
secondary
#464BB0
accent
#4AE443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A