#7E7115#7E7115
#7E7115 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.106 H 100.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7115 |
|---|---|
| RGB | rgb(126, 113, 21) |
| HSL | hsl(53, 71%, 29%) |
| HSV | hsv(53, 83%, 49%) |
| CMYK | cmyk(0%, 10.3%, 83.3%, 50.6%) |
| CIE-LAB | lab(47.37, -5.08, 48.29) |
| CIE-LCH | lch(47.37, 48.55, 96.00°) |
| OKLab | oklab(54.46% -0.0196 0.1044) |
| OKLCH | oklch(54.46% 0.106 100.6) |
| XYZ | xyz(14.6454, 16.3007, 3.0843) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.36
Brown Green
#706C11
ΔE00 3.93
Browny Green
#6F6C0A
ΔE00 4.18
Hazel
#8E7618
ΔE00 4.58
Poo
#8F7303
ΔE00 5.43
Brownish Green
#6A6E09
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7115 #15227E
analogous
#7E3D15 #7E7115 #577E15
triadic
#7E7115 #157E71 #71157E
tetradic
#7E7115 #157E3D #15227E #7E1557
square
#7E7115 #157E3D #15227E #7E1557
split-complementary
#7E7115 #15577E #3D157E
monochromatic
#1A1804 #4A420C #7E7115 #B2A01E #DDC731
Accessibility & contrast
On white
4.93
#7E7115 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7E7115 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7115
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7115 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7115 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#80721C
Tritanopia (blue-blind)
#886860
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e7115; /* rgb */ color: rgb(126, 113, 21); /* oklch */ color: oklch(54.5% 0.106 100.6);
Tailwind
colors: {
custom: {
50: '#a7995c',
500: '#7e7115',
950: '#000000',
},
}SCSS
$custom: #7e7115; $custom-light: #a7995c; $custom-dark: #000000;
JSON
{
"hex": "#7e7115",
"rgb": {
"r": 126,
"g": 113,
"b": 21
},
"hsl": {
"h": 52.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.54455,
"c": 0.10623,
"h": 100.6
},
"luminance": 0.163
}Semantic roles & 50–950 ramp
primary
#7E7115
secondary
#3C4AB3
accent
#50EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79