#7E7B10#7E7B10
#7E7B10 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.117 H 107.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7B10 |
|---|---|
| RGB | rgb(126, 123, 16) |
| HSL | hsl(58, 77%, 28%) |
| HSV | hsv(58, 87%, 49%) |
| CMYK | cmyk(0%, 2.4%, 87.3%, 50.6%) |
| CIE-LAB | lab(50.26, -10.80, 52.16) |
| CIE-LCH | lch(50.26, 53.27, 101.70°) |
| OKLab | oklab(56.75% -0.036 0.1118) |
| OKLCH | oklch(56.75% 0.117 107.8) |
| XYZ | xyz(15.7813, 18.6395, 3.2566) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.23
Shit Green
#758000
ΔE00 4.00
Ugly Brown
#7D7103
ΔE00 4.31
Olive (survey)
#6E750E
ΔE00 4.38
Poop Green
#6F7C00
ΔE00 4.51
Murky Green
#6C7A0E
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7B10 #10137E
analogous
#7E4410 #7E7B10 #4A7E10
triadic
#7E7B10 #107E7B #7B107E
tetradic
#7E7B10 #107E44 #10137E #7E104A
square
#7E7B10 #107E44 #10137E #7E104A
split-complementary
#7E7B10 #104A7E #44107E
monochromatic
#1B1B03 #484609 #7E7B10 #B4B017 #E3DE25
Accessibility & contrast
On white
4.44
#7E7B10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#7E7B10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7B10
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7B10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7B10 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#88791B
Tritanopia (blue-blind)
#887268
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e7b10; /* rgb */ color: rgb(126, 123, 16); /* oklch */ color: oklch(56.8% 0.117 107.8);
Tailwind
colors: {
custom: {
50: '#a7a05c',
500: '#7e7b10',
950: '#000000',
},
}SCSS
$custom: #7e7b10; $custom-light: #a7a05c; $custom-dark: #000000;
JSON
{
"hex": "#7e7b10",
"rgb": {
"r": 126,
"g": 123,
"b": 16
},
"hsl": {
"h": 58.364,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.56754,
"c": 0.11748,
"h": 107.8
},
"luminance": 0.18639
}Semantic roles & 50–950 ramp
primary
#7E7B10
secondary
#3639B4
accent
#39F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79