#7D791F#7D791F
#7D791F is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.108 H 106.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7D791F |
|---|---|
| RGB | rgb(125, 121, 31) |
| HSL | hsl(57, 60%, 31%) |
| HSV | hsv(57, 75%, 49%) |
| CMYK | cmyk(0%, 3.2%, 75.2%, 51%) |
| CIE-LAB | lab(49.66, -9.59, 46.84) |
| CIE-LCH | lch(49.66, 47.81, 101.57°) |
| OKLab | oklab(56.27% -0.0313 0.1034) |
| OKLCH | oklch(56.27% 0.108 106.8) |
| XYZ | xyz(15.5428, 18.1342, 3.9776) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.84
Ugly Brown
#7D7103
ΔE00 4.07
Olive (survey)
#6E750E
ΔE00 4.09
Shit Green
#758000
ΔE00 4.95
Brown Green
#706C11
ΔE00 5.02
Poop Green
#6F7C00
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D791F #1F237D
analogous
#7D4A1F #7D791F #527D1F
triadic
#7D791F #1F7D79 #791F7D
tetradic
#7D791F #1F7D4A #1F237D #7D1F52
square
#7D791F #1F7D4A #1F237D #7D1F52
split-complementary
#7D791F #1F527D #4A1F7D
monochromatic
#1B1A07 #4C4A13 #7D791F #AEA82B #D1CB45
Accessibility & contrast
On white
4.54
#7D791F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#7D791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D791F
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D791F | 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)
#84740E
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d791f; /* rgb */ color: rgb(125, 121, 31); /* oklch */ color: oklch(56.3% 0.108 106.8);
Tailwind
colors: {
custom: {
50: '#a69f62',
500: '#7d791f',
950: '#000000',
},
}SCSS
$custom: #7d791f; $custom-light: #a69f62; $custom-dark: #000000;
JSON
{
"hex": "#7d791f",
"rgb": {
"r": 125,
"g": 121,
"b": 31
},
"hsl": {
"h": 57.447,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.56273,
"c": 0.10804,
"h": 106.8
},
"luminance": 0.18134
}Semantic roles & 50–950 ramp
primary
#7D791F
secondary
#484CB0
accent
#4BE344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A