#7E741D#7E741D
#7E741D is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.104 H 102.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E741D |
|---|---|
| RGB | rgb(126, 116, 29) |
| HSL | hsl(54, 63%, 30%) |
| HSV | hsv(54, 77%, 49%) |
| CMYK | cmyk(0%, 7.9%, 77%, 50.6%) |
| CIE-LAB | lab(48.28, -6.44, 46.32) |
| CIE-LCH | lch(48.28, 46.77, 97.91°) |
| OKLab | oklab(55.19% -0.0227 0.1019) |
| OKLCH | oklch(55.19% 0.104 102.5) |
| XYZ | xyz(15.0720, 17.0158, 3.6526) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.29
Brown Green
#706C11
ΔE00 4.01
Browny Green
#6F6C0A
ΔE00 4.29
Hazel
#8E7618
ΔE00 5.04
Olive (survey)
#6E750E
ΔE00 5.35
Brownish Green
#6A6E09
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E741D #1D277E
analogous
#7E431D #7E741D #587E1D
triadic
#7E741D #1D7E74 #741D7E
tetradic
#7E741D #1D7E43 #1D277E #7E1D58
square
#7E741D #1D7E43 #1D277E #7E1D58
split-complementary
#7E741D #1D587E #431D7E
monochromatic
#1B1806 #4C4612 #7E741D #B0A228 #D3C442
Accessibility & contrast
On white
4.77
#7E741D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7E741D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E741D
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E741D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E741D | 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)
#7F700C
Deuteranopia (green-blind)
#827523
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e741d; /* rgb */ color: rgb(126, 116, 29); /* oklch */ color: oklch(55.2% 0.104 102.5);
Tailwind
colors: {
custom: {
50: '#a79b60',
500: '#7e741d',
950: '#000000',
},
}SCSS
$custom: #7e741d; $custom-light: #a79b60; $custom-dark: #000000;
JSON
{
"hex": "#7e741d",
"rgb": {
"r": 126,
"g": 116,
"b": 29
},
"hsl": {
"h": 53.814,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.55194,
"c": 0.10437,
"h": 102.5
},
"luminance": 0.17015
}Semantic roles & 50–950 ramp
primary
#7E741D
secondary
#4550B1
accent
#53E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79