#7D771F#7D771F
#7D771F is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.106 H 105.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7D771F |
|---|---|
| RGB | rgb(125, 119, 31) |
| HSL | hsl(56, 60%, 31%) |
| HSV | hsv(56, 75%, 49%) |
| CMYK | cmyk(0%, 4.8%, 75.2%, 51%) |
| CIE-LAB | lab(49.07, -8.48, 46.28) |
| CIE-LCH | lch(49.07, 47.05, 100.38°) |
| OKLab | oklab(55.81% -0.0282 0.1022) |
| OKLCH | oklch(55.81% 0.106 105.4) |
| XYZ | xyz(15.3022, 17.6531, 3.8974) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.38
Olive (survey)
#6E750E
ΔE00 4.35
Brown Green
#706C11
ΔE00 4.43
Olive
#808000
ΔE00 4.55
Browny Green
#6F6C0A
ΔE00 4.62
Brownish Green
#6A6E09
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D771F #1F257D
analogous
#7D481F #7D771F #547D1F
triadic
#7D771F #1F7D77 #771F7D
tetradic
#7D771F #1F7D48 #1F257D #7D1F54
square
#7D771F #1F7D48 #1F257D #7D1F54
split-complementary
#7D771F #1F547D #481F7D
monochromatic
#1B1A07 #4C4813 #7D771F #AEA62B #D1C845
Accessibility & contrast
On white
4.64
#7D771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7D771F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D771F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D771F | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d771f; /* rgb */ color: rgb(125, 119, 31); /* oklch */ color: oklch(55.8% 0.106 105.4);
Tailwind
colors: {
custom: {
50: '#a69e62',
500: '#7d771f',
950: '#000000',
},
}SCSS
$custom: #7d771f; $custom-light: #a69e62; $custom-dark: #000000;
JSON
{
"hex": "#7d771f",
"rgb": {
"r": 125,
"g": 119,
"b": 31
},
"hsl": {
"h": 56.17,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.55806,
"c": 0.10604,
"h": 105.4
},
"luminance": 0.17653
}Semantic roles & 50–950 ramp
primary
#7D771F
secondary
#484EB0
accent
#4FE344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A