#7C771D#7C771D
#7C771D is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.107 H 106.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C771D |
|---|---|
| RGB | rgb(124, 119, 29) |
| HSL | hsl(57, 62%, 30%) |
| HSV | hsv(57, 77%, 49%) |
| CMYK | cmyk(0%, 4%, 76.6%, 51.4%) |
| CIE-LAB | lab(48.97, -9.05, 46.91) |
| CIE-LCH | lch(48.97, 47.77, 100.92°) |
| OKLab | oklab(55.7% -0.0299 0.1032) |
| OKLCH | oklch(55.7% 0.107 106.2) |
| XYZ | xyz(15.1314, 17.5680, 3.7561) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.43
Olive (survey)
#6E750E
ΔE00 4.00
Brown Green
#706C11
ΔE00 4.31
Olive
#808000
ΔE00 4.36
Browny Green
#6F6C0A
ΔE00 4.46
Brownish Green
#6A6E09
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C771D #1D227C
analogous
#7C471D #7C771D #527C1D
triadic
#7C771D #1D7C77 #771D7C
tetradic
#7C771D #1D7C47 #1D227C #7C1D52
square
#7C771D #1D7C47 #1D227C #7C1D52
split-complementary
#7C771D #1D527C #471D7C
monochromatic
#191806 #4A4711 #7C771D #AEA729 #D3CB41
Accessibility & contrast
On white
4.65
#7C771D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7C771D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7C771D
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C771D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C771D | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82720B
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#866F66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c771d; /* rgb */ color: rgb(124, 119, 29); /* oklch */ color: oklch(55.7% 0.107 106.2);
Tailwind
colors: {
custom: {
50: '#a59e61',
500: '#7c771d',
950: '#000000',
},
}SCSS
$custom: #7c771d; $custom-light: #a59e61; $custom-dark: #000000;
JSON
{
"hex": "#7c771d",
"rgb": {
"r": 124,
"g": 119,
"b": 29
},
"hsl": {
"h": 56.842,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.55697,
"c": 0.10744,
"h": 106.2
},
"luminance": 0.17567
}Semantic roles & 50–950 ramp
primary
#7C771D
secondary
#454BB0
accent
#4BE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79