#7C771F#7C771F
#7C771F is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.106 H 106.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C771F |
|---|---|
| RGB | rgb(124, 119, 31) |
| HSL | hsl(57, 60%, 30%) |
| HSV | hsv(57, 75%, 49%) |
| CMYK | cmyk(0%, 4%, 75%, 51.4%) |
| CIE-LAB | lab(48.98, -8.95, 46.16) |
| CIE-LCH | lch(48.98, 47.02, 100.97°) |
| OKLab | oklab(55.71% -0.0294 0.102) |
| OKLCH | oklch(55.71% 0.106 106.1) |
| XYZ | xyz(15.1569, 17.5782, 3.8906) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.56
Olive (survey)
#6E750E
ΔE00 4.05
Brown Green
#706C11
ΔE00 4.33
Browny Green
#6F6C0A
ΔE00 4.50
Olive
#808000
ΔE00 4.52
Brownish Green
#6A6E09
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C771F #1F247C
analogous
#7C481F #7C771F #527C1F
triadic
#7C771F #1F7C77 #771F7C
tetradic
#7C771F #1F7C48 #1F247C #7C1F52
square
#7C771F #1F7C48 #1F247C #7C1F52
split-complementary
#7C771F #1F527C #481F7C
monochromatic
#1A1907 #4B4813 #7C771F #ADA62B #D0C945
Accessibility & contrast
On white
4.65
#7C771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#7C771F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7C771F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C771F | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82720F
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#856F66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c771f; /* rgb */ color: rgb(124, 119, 31); /* oklch */ color: oklch(55.7% 0.106 106.1);
Tailwind
colors: {
custom: {
50: '#a59e62',
500: '#7c771f',
950: '#000000',
},
}SCSS
$custom: #7c771f; $custom-light: #a59e62; $custom-dark: #000000;
JSON
{
"hex": "#7c771f",
"rgb": {
"r": 124,
"g": 119,
"b": 31
},
"hsl": {
"h": 56.774,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.55711,
"c": 0.10617,
"h": 106.1
},
"luminance": 0.17578
}Semantic roles & 50–950 ramp
primary
#7C771F
secondary
#484DAF
accent
#4DE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A