#7C771A#7C771A
#7C771A is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.109 H 106.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7C771A |
|---|---|
| RGB | rgb(124, 119, 26) |
| HSL | hsl(57, 65%, 29%) |
| HSV | hsv(57, 79%, 49%) |
| CMYK | cmyk(0%, 4%, 79%, 51.4%) |
| CIE-LAB | lab(48.95, -9.18, 47.97) |
| CIE-LCH | lch(48.95, 48.84, 100.84°) |
| OKLab | oklab(55.68% -0.0306 0.1049) |
| OKLCH | oklch(55.68% 0.109 106.3) |
| XYZ | xyz(15.0961, 17.5539, 3.5701) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.26
Olive (survey)
#6E750E
ΔE00 3.96
Olive
#808000
ΔE00 4.16
Brown Green
#706C11
ΔE00 4.32
Browny Green
#6F6C0A
ΔE00 4.42
Brownish Green
#6A6E09
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C771A #1A1F7C
analogous
#7C461A #7C771A #507C1A
triadic
#7C771A #1A7C77 #771A7C
tetradic
#7C771A #1A7C46 #1A1F7C #7C1A50
square
#7C771A #1A7C46 #1A1F7C #7C1A50
split-complementary
#7C771A #1A507C #461A7C
monochromatic
#191805 #49460F #7C771A #AFA825 #D6CE3B
Accessibility & contrast
On white
4.66
#7C771A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7C771A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7C771A
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C771A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C771A | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#866E66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c771a; /* rgb */ color: rgb(124, 119, 26); /* oklch */ color: oklch(55.7% 0.109 106.3);
Tailwind
colors: {
custom: {
50: '#a59d5f',
500: '#7c771a',
950: '#000000',
},
}SCSS
$custom: #7c771a; $custom-light: #a59d5f; $custom-dark: #000000;
JSON
{
"hex": "#7c771a",
"rgb": {
"r": 124,
"g": 119,
"b": 26
},
"hsl": {
"h": 56.939,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.55677,
"c": 0.10922,
"h": 106.3
},
"luminance": 0.17553
}Semantic roles & 50–950 ramp
primary
#7C771A
secondary
#4247B0
accent
#48E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79