#7C771B#7C771B
#7C771B is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.109 H 106.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C771B |
|---|---|
| RGB | rgb(124, 119, 27) |
| HSL | hsl(57, 64%, 30%) |
| HSV | hsv(57, 78%, 49%) |
| CMYK | cmyk(0%, 4%, 78.2%, 51.4%) |
| CIE-LAB | lab(48.96, -9.14, 47.62) |
| CIE-LCH | lch(48.96, 48.49, 100.86°) |
| OKLab | oklab(55.68% -0.0303 0.1043) |
| OKLCH | oklch(55.68% 0.109 106.2) |
| XYZ | xyz(15.1075, 17.5584, 3.6300) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.31
Olive (survey)
#6E750E
ΔE00 3.97
Olive
#808000
ΔE00 4.23
Brown Green
#706C11
ΔE00 4.31
Browny Green
#6F6C0A
ΔE00 4.43
Brownish Green
#6A6E09
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C771B #1B207C
analogous
#7C471B #7C771B #517C1B
triadic
#7C771B #1B7C77 #771B7C
tetradic
#7C771B #1B7C47 #1B207C #7C1B51
square
#7C771B #1B7C47 #1B207C #7C1B51
split-complementary
#7C771B #1B517C #471B7C
monochromatic
#191805 #4A4710 #7C771B #AEA726 #D5CD3D
Accessibility & contrast
On white
4.65
#7C771B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7C771B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7C771B
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C771B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C771B | 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)
#827206
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#866F66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c771b; /* rgb */ color: rgb(124, 119, 27); /* oklch */ color: oklch(55.7% 0.109 106.2);
Tailwind
colors: {
custom: {
50: '#a59d60',
500: '#7c771b',
950: '#000000',
},
}SCSS
$custom: #7c771b; $custom-light: #a59d60; $custom-dark: #000000;
JSON
{
"hex": "#7c771b",
"rgb": {
"r": 124,
"g": 119,
"b": 27
},
"hsl": {
"h": 56.907,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.55684,
"c": 0.10865,
"h": 106.2
},
"luminance": 0.17558
}Semantic roles & 50–950 ramp
primary
#7C771B
secondary
#4348B0
accent
#49E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79