#7D771C#7D771C
#7D771C is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.108 H 105.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7D771C |
|---|---|
| RGB | rgb(125, 119, 28) |
| HSL | hsl(56, 63%, 30%) |
| HSV | hsv(56, 78%, 49%) |
| CMYK | cmyk(0%, 4.8%, 77.6%, 51%) |
| CIE-LAB | lab(49.05, -8.63, 47.39) |
| CIE-LCH | lch(49.05, 48.17, 100.32°) |
| OKLab | oklab(55.79% -0.0289 0.104) |
| OKLCH | oklch(55.79% 0.108 105.5) |
| XYZ | xyz(15.2645, 17.6381, 3.6988) |
| Luminance | 0.1764 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.18
Olive (survey)
#6E750E
ΔE00 4.30
Olive
#808000
ΔE00 4.33
Brown Green
#706C11
ΔE00 4.42
Browny Green
#6F6C0A
ΔE00 4.56
Brownish Green
#6A6E09
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D771C #1C227D
analogous
#7D471C #7D771C #527D1C
triadic
#7D771C #1C7D77 #771C7D
tetradic
#7D771C #1C7D47 #1C227D #7D1C52
square
#7D771C #1C7D47 #1C227D #7D1C52
split-complementary
#7D771C #1C527D #471C7D
monochromatic
#191806 #4B4711 #7D771C #AFA727 #D4CB3F
Accessibility & contrast
On white
4.64
#7D771C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7D771C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D771C
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D771C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D771C | 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)
#827208
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#876E66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7d771c; /* rgb */ color: rgb(125, 119, 28); /* oklch */ color: oklch(55.8% 0.108 105.5);
Tailwind
colors: {
custom: {
50: '#a69d60',
500: '#7d771c',
950: '#000000',
},
}SCSS
$custom: #7d771c; $custom-light: #a69d60; $custom-dark: #000000;
JSON
{
"hex": "#7d771c",
"rgb": {
"r": 125,
"g": 119,
"b": 28
},
"hsl": {
"h": 56.289,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.55786,
"c": 0.10791,
"h": 105.5
},
"luminance": 0.17637
}Semantic roles & 50–950 ramp
primary
#7D771C
secondary
#444BB1
accent
#4CE641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79