#7E741A#7E741A
#7E741A is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.106 H 102.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E741A |
|---|---|
| RGB | rgb(126, 116, 26) |
| HSL | hsl(54, 66%, 30%) |
| HSV | hsv(54, 79%, 49%) |
| CMYK | cmyk(0%, 7.9%, 79.4%, 50.6%) |
| CIE-LAB | lab(48.26, -6.57, 47.41) |
| CIE-LCH | lch(48.26, 47.86, 97.89°) |
| OKLab | oklab(55.17% -0.0234 0.1036) |
| OKLCH | oklch(55.17% 0.106 102.7) |
| XYZ | xyz(15.0367, 17.0016, 3.4667) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.01
Brown Green
#706C11
ΔE00 4.00
Browny Green
#6F6C0A
ΔE00 4.23
Hazel
#8E7618
ΔE00 5.00
Olive (survey)
#6E750E
ΔE00 5.30
Brownish Green
#6A6E09
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E741A #1A247E
analogous
#7E421A #7E741A #567E1A
triadic
#7E741A #1A7E74 #741A7E
tetradic
#7E741A #1A7E42 #1A247E #7E1A56
square
#7E741A #1A7E42 #1A247E #7E1A56
split-complementary
#7E741A #1A567E #421A7E
monochromatic
#191705 #4B4510 #7E741A #B1A324 #D7C73C
Accessibility & contrast
On white
4.77
#7E741A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7E741A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E741A
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E741A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E741A | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7005
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e741a; /* rgb */ color: rgb(126, 116, 26); /* oklch */ color: oklch(55.2% 0.106 102.7);
Tailwind
colors: {
custom: {
50: '#a79b5f',
500: '#7e741a',
950: '#000000',
},
}SCSS
$custom: #7e741a; $custom-light: #a79b5f; $custom-dark: #000000;
JSON
{
"hex": "#7e741a",
"rgb": {
"r": 126,
"g": 116,
"b": 26
},
"hsl": {
"h": 54,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.55174,
"c": 0.10616,
"h": 102.7
},
"luminance": 0.17001
}Semantic roles & 50–950 ramp
primary
#7E741A
secondary
#424DB2
accent
#50E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79