#7E751D#7E751D
#7E751D is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.105 H 103.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E751D |
|---|---|
| RGB | rgb(126, 117, 29) |
| HSL | hsl(54, 63%, 30%) |
| HSV | hsv(54, 77%, 49%) |
| CMYK | cmyk(0%, 7.1%, 77%, 50.6%) |
| CIE-LAB | lab(48.57, -7.00, 46.60) |
| CIE-LCH | lch(48.57, 47.12, 98.54°) |
| OKLab | oklab(55.43% -0.0242 0.1025) |
| OKLCH | oklch(55.43% 0.105 103.3) |
| XYZ | xyz(15.1879, 17.2475, 3.6913) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.50
Brown Green
#706C11
ΔE00 4.15
Browny Green
#6F6C0A
ΔE00 4.38
Olive (survey)
#6E750E
ΔE00 5.07
Hazel
#8E7618
ΔE00 5.23
Olive
#808000
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E751D #1D267E
analogous
#7E441D #7E751D #567E1D
triadic
#7E751D #1D7E75 #751D7E
tetradic
#7E751D #1D7E44 #1D267E #7E1D56
square
#7E751D #1D7E44 #1D267E #7E1D56
split-complementary
#7E751D #1D567E #441D7E
monochromatic
#1B1906 #4C4712 #7E751D #B0A328 #D3C642
Accessibility & contrast
On white
4.72
#7E751D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#7E751D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E751D
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E751D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E751D | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e751d; /* rgb */ color: rgb(126, 117, 29); /* oklch */ color: oklch(55.4% 0.105 103.3);
Tailwind
colors: {
custom: {
50: '#a79c60',
500: '#7e751d',
950: '#000000',
},
}SCSS
$custom: #7e751d; $custom-light: #a79c60; $custom-dark: #000000;
JSON
{
"hex": "#7e751d",
"rgb": {
"r": 126,
"g": 117,
"b": 29
},
"hsl": {
"h": 54.433,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.55425,
"c": 0.10529,
"h": 103.3
},
"luminance": 0.17247
}Semantic roles & 50–950 ramp
primary
#7E751D
secondary
#454FB1
accent
#51E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79