#7E731A#7E731A
#7E731A is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.105 H 101.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E731A |
|---|---|
| RGB | rgb(126, 115, 26) |
| HSL | hsl(53, 66%, 30%) |
| HSV | hsv(53, 79%, 49%) |
| CMYK | cmyk(0%, 8.7%, 79.4%, 50.6%) |
| CIE-LAB | lab(47.97, -6.01, 47.14) |
| CIE-LCH | lch(47.97, 47.52, 97.26°) |
| OKLab | oklab(54.94% -0.0218 0.103) |
| OKLCH | oklch(54.94% 0.105 101.9) |
| XYZ | xyz(14.9221, 16.7723, 3.4285) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.85
Brown Green
#706C11
ΔE00 3.92
Browny Green
#6F6C0A
ΔE00 4.18
Hazel
#8E7618
ΔE00 4.84
Olive (survey)
#6E750E
ΔE00 5.61
Brownish Green
#6A6E09
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E731A #1A257E
analogous
#7E411A #7E731A #577E1A
triadic
#7E731A #1A7E73 #731A7E
tetradic
#7E731A #1A7E41 #1A257E #7E1A57
square
#7E731A #1A7E41 #1A257E #7E1A57
split-complementary
#7E731A #1A577E #411A7E
monochromatic
#191705 #4B4510 #7E731A #B1A124 #D7C63C
Accessibility & contrast
On white
4.82
#7E731A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7E731A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E731A
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E731A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E731A | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#886A62
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e731a; /* rgb */ color: rgb(126, 115, 26); /* oklch */ color: oklch(54.9% 0.105 101.9);
Tailwind
colors: {
custom: {
50: '#a79b5f',
500: '#7e731a',
950: '#000000',
},
}SCSS
$custom: #7e731a; $custom-light: #a79b5f; $custom-dark: #000000;
JSON
{
"hex": "#7e731a",
"rgb": {
"r": 126,
"g": 115,
"b": 26
},
"hsl": {
"h": 53.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.54944,
"c": 0.10527,
"h": 101.9
},
"luminance": 0.16772
}Semantic roles & 50–950 ramp
primary
#7E731A
secondary
#424EB2
accent
#52E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79