#7E761A#7E761A
#7E761A is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.108 H 104.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E761A |
|---|---|
| RGB | rgb(126, 118, 26) |
| HSL | hsl(55, 66%, 30%) |
| HSV | hsv(55, 79%, 49%) |
| CMYK | cmyk(0%, 6.3%, 79.4%, 50.6%) |
| CIE-LAB | lab(48.84, -7.69, 47.94) |
| CIE-LCH | lch(48.84, 48.55, 99.11°) |
| OKLab | oklab(55.64% -0.0265 0.1047) |
| OKLCH | oklch(55.64% 0.108 104.2) |
| XYZ | xyz(15.2698, 17.4677, 3.5444) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.56
Brown Green
#706C11
ΔE00 4.33
Browny Green
#6F6C0A
ΔE00 4.50
Olive
#808000
ΔE00 4.68
Olive (survey)
#6E750E
ΔE00 4.80
Hazel
#8E7618
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E761A #1A227E
analogous
#7E441A #7E761A #547E1A
triadic
#7E761A #1A7E76 #761A7E
tetradic
#7E761A #1A7E44 #1A227E #7E1A54
square
#7E761A #1A7E44 #1A227E #7E1A54
split-complementary
#7E761A #1A547E #441A7E
monochromatic
#191805 #4B4610 #7E761A #B1A624 #D7CA3C
Accessibility & contrast
On white
4.67
#7E761A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7E761A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E761A
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E761A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E761A | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817204
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e761a; /* rgb */ color: rgb(126, 118, 26); /* oklch */ color: oklch(55.6% 0.108 104.2);
Tailwind
colors: {
custom: {
50: '#a79d5f',
500: '#7e761a',
950: '#000000',
},
}SCSS
$custom: #7e761a; $custom-light: #a79d5f; $custom-dark: #000000;
JSON
{
"hex": "#7e761a",
"rgb": {
"r": 126,
"g": 118,
"b": 26
},
"hsl": {
"h": 55.2,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.55637,
"c": 0.108,
"h": 104.2
},
"luminance": 0.17467
}Semantic roles & 50–950 ramp
primary
#7E761A
secondary
#424BB2
accent
#4DE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79