#7E7511#7E7511
#7E7511 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.111 H 103.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7511 |
|---|---|
| RGB | rgb(126, 117, 17) |
| HSL | hsl(55, 76%, 28%) |
| HSV | hsv(55, 87%, 49%) |
| CMYK | cmyk(0%, 7.1%, 86.5%, 50.6%) |
| CIE-LAB | lab(48.51, -7.46, 50.44) |
| CIE-LCH | lch(48.51, 50.99, 98.41°) |
| OKLab | oklab(55.36% -0.0266 0.1083) |
| OKLCH | oklch(55.36% 0.111 103.8) |
| XYZ | xyz(15.0674, 17.1993, 3.0563) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.78
Brown Green
#706C11
ΔE00 4.27
Browny Green
#6F6C0A
ΔE00 4.36
Olive
#808000
ΔE00 4.75
Olive (survey)
#6E750E
ΔE00 5.04
Hazel
#8E7618
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7511 #111A7E
analogous
#7E3E11 #7E7511 #507E11
triadic
#7E7511 #117E75 #75117E
tetradic
#7E7511 #117E3E #111A7E #7E1150
square
#7E7511 #117E3E #111A7E #7E1150
split-complementary
#7E7511 #11507E #3E117E
monochromatic
#1B1904 #48430A #7E7511 #B4A718 #E2D327
Accessibility & contrast
On white
4.73
#7E7511 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7E7511 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7511
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7511 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7511 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751A
Tritanopia (blue-blind)
#886C63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e7511; /* rgb */ color: rgb(126, 117, 17); /* oklch */ color: oklch(55.4% 0.111 103.8);
Tailwind
colors: {
custom: {
50: '#a79c5b',
500: '#7e7511',
950: '#000000',
},
}SCSS
$custom: #7e7511; $custom-light: #a79c5b; $custom-dark: #000000;
JSON
{
"hex": "#7e7511",
"rgb": {
"r": 126,
"g": 117,
"b": 17
},
"hsl": {
"h": 55.046,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.55358,
"c": 0.11148,
"h": 103.8
},
"luminance": 0.17199
}Semantic roles & 50–950 ramp
primary
#7E7511
secondary
#3741B4
accent
#45F335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79