#7D772C#7D772C
#7D772C is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.9% C 0.096 H 104.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D772C |
|---|---|
| RGB | rgb(125, 119, 44) |
| HSL | hsl(56, 48%, 33%) |
| HSV | hsv(56, 65%, 49%) |
| CMYK | cmyk(0%, 4.8%, 64.8%, 51%) |
| CIE-LAB | lab(49.17, -7.70, 40.80) |
| CIE-LCH | lch(49.17, 41.52, 100.68°) |
| OKLab | oklab(55.92% -0.0245 0.093) |
| OKLCH | oklch(55.92% 0.096 104.7) |
| XYZ | xyz(15.5095, 17.7360, 4.9888) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.70
Olive Drab
#6F7632
ΔE00 4.76
Brown Green
#706C11
ΔE00 4.93
Olive (survey)
#6E750E
ΔE00 5.10
Browny Green
#6F6C0A
ΔE00 5.29
Drab
#828344
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D772C #2C327D
analogous
#7D4E2C #7D772C #5A7D2C
triadic
#7D772C #2C7D77 #772C7D
tetradic
#7D772C #2C7D4E #2C327D #7D2C5A
square
#7D772C #2C7D4E #2C327D #7D2C5A
split-complementary
#7D772C #2C5A7D #4E2C7D
monochromatic
#22210C #504C1C #7D772C #AAA23C #C6BE5D
Accessibility & contrast
On white
4.62
#7D772C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7D772C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D772C
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D772C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D772C | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817323
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#866F67
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d772c; /* rgb */ color: rgb(125, 119, 44); /* oklch */ color: oklch(55.9% 0.096 104.7);
Tailwind
colors: {
custom: {
50: '#a59e69',
500: '#7d772c',
950: '#000000',
},
}SCSS
$custom: #7d772c; $custom-light: #a59e69; $custom-dark: #000000;
JSON
{
"hex": "#7d772c",
"rgb": {
"r": 125,
"g": 119,
"b": 44
},
"hsl": {
"h": 55.556,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.5592,
"c": 0.09614,
"h": 104.7
},
"luminance": 0.17735
}Semantic roles & 50–950 ramp
primary
#7D772C
secondary
#595FAC
accent
#5AD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A