#7D772F#7D772F
#7D772F is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.093 H 104.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7D772F |
|---|---|
| RGB | rgb(125, 119, 47) |
| HSL | hsl(55, 45%, 34%) |
| HSV | hsv(55, 62%, 49%) |
| CMYK | cmyk(0%, 4.8%, 62.4%, 51%) |
| CIE-LAB | lab(49.20, -7.48, 39.41) |
| CIE-LCH | lch(49.20, 40.11, 100.74°) |
| OKLab | oklab(55.95% -0.0235 0.0905) |
| OKLCH | oklch(55.95% 0.093 104.5) |
| XYZ | xyz(15.5679, 17.7594, 5.2966) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.60
Ugly Brown
#7D7103
ΔE00 5.10
Brown Green
#706C11
ΔE00 5.17
Drab
#828344
ΔE00 5.26
Olive (survey)
#6E750E
ΔE00 5.39
Browny Green
#6F6C0A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D772F #2F357D
analogous
#7D502F #7D772F #5C7D2F
triadic
#7D772F #2F7D77 #772F7D
tetradic
#7D772F #2F7D50 #2F357D #7D2F5C
square
#7D772F #2F7D50 #2F357D #7D2F5C
split-complementary
#7D772F #2F5C7D #502F7D
monochromatic
#24220E #514D1E #7D772F #A9A140 #C4BD62
Accessibility & contrast
On white
4.61
#7D772F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7D772F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D772F
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D772F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D772F | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817327
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#866F68
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d772f; /* rgb */ color: rgb(125, 119, 47); /* oklch */ color: oklch(56.0% 0.093 104.5);
Tailwind
colors: {
custom: {
50: '#a59e6b',
500: '#7d772f',
950: '#000000',
},
}SCSS
$custom: #7d772f; $custom-light: #a59e6b; $custom-dark: #000000;
JSON
{
"hex": "#7d772f",
"rgb": {
"r": 125,
"g": 119,
"b": 47
},
"hsl": {
"h": 55.385,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.55952,
"c": 0.09346,
"h": 104.5
},
"luminance": 0.17759
}Semantic roles & 50–950 ramp
primary
#7D772F
secondary
#5D63AB
accent
#5DD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A