#7D792A#7D792A
#7D792A is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.100 H 106.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7D792A |
|---|---|
| RGB | rgb(125, 121, 42) |
| HSL | hsl(57, 50%, 33%) |
| HSV | hsv(57, 66%, 49%) |
| CMYK | cmyk(0%, 3.2%, 66.4%, 51%) |
| CIE-LAB | lab(49.74, -8.95, 42.32) |
| CIE-LCH | lch(49.74, 43.26, 101.94°) |
| OKLab | oklab(56.36% -0.0282 0.0959) |
| OKLCH | oklch(56.36% 0.1 106.4) |
| XYZ | xyz(15.7133, 18.2024, 4.8757) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 4.62
Olive Drab
#6F7632
ΔE00 4.67
Ugly Brown
#7D7103
ΔE00 4.94
Olive
#808000
ΔE00 5.03
Drab
#828344
ΔE00 5.12
Brown Green
#706C11
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D792A #2A2E7D
analogous
#7D4F2A #7D792A #587D2A
triadic
#7D792A #2A7D79 #792A7D
tetradic
#7D792A #2A7D4F #2A2E7D #7D2A58
square
#7D792A #2A7D4F #2A2E7D #7D2A58
split-complementary
#7D792A #2A587D #4F2A7D
monochromatic
#21200B #4F4D1B #7D792A #ABA539 #C8C25A
Accessibility & contrast
On white
4.53
#7D792A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7D792A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D792A
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D792A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D792A | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837420
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#867169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d792a; /* rgb */ color: rgb(125, 121, 42); /* oklch */ color: oklch(56.4% 0.100 106.4);
Tailwind
colors: {
custom: {
50: '#a59f68',
500: '#7d792a',
950: '#000000',
},
}SCSS
$custom: #7d792a; $custom-light: #a59f68; $custom-dark: #000000;
JSON
{
"hex": "#7d792a",
"rgb": {
"r": 125,
"g": 121,
"b": 42
},
"hsl": {
"h": 57.108,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.56365,
"c": 0.09994,
"h": 106.4
},
"luminance": 0.18202
}Semantic roles & 50–950 ramp
primary
#7D792A
secondary
#565AAD
accent
#55D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A