#7B7E16#7B7E16
#7B7E16 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.119 H 111.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7E16 |
|---|---|
| RGB | rgb(123, 126, 22) |
| HSL | hsl(62, 70%, 29%) |
| HSV | hsv(62, 83%, 49%) |
| CMYK | cmyk(2.4%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(50.91, -13.63, 50.98) |
| CIE-LCH | lch(50.91, 52.77, 104.97°) |
| OKLab | oklab(57.21% -0.0432 0.1105) |
| OKLCH | oklch(57.21% 0.119 111.4) |
| XYZ | xyz(15.7746, 19.1910, 3.6322) |
| Luminance | 0.1919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.19
Shit Green
#758000
ΔE00 2.36
Poop Green
#6F7C00
ΔE00 3.13
Murky Green
#6C7A0E
ΔE00 3.86
Olive (survey)
#6E750E
ΔE00 4.00
Swamp Green
#748500
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7E16 #19167E
analogous
#7E4D16 #7B7E16 #477E16
triadic
#7B7E16 #167B7E #7E167B
tetradic
#7B7E16 #167E4D #19167E #7E1647
square
#7B7E16 #167E4D #19167E #7E1647
split-complementary
#7B7E16 #16477E #4D167E
monochromatic
#191A05 #484A0D #7B7E16 #AEB21F #D7DB33
Accessibility & contrast
On white
4.34
#7B7E16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7B7E16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7E16
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7E16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7E16 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7e16; /* rgb */ color: rgb(123, 126, 22); /* oklch */ color: oklch(57.2% 0.119 111.4);
Tailwind
colors: {
custom: {
50: '#a5a35e',
500: '#7b7e16',
950: '#000000',
},
}SCSS
$custom: #7b7e16; $custom-light: #a5a35e; $custom-dark: #000000;
JSON
{
"hex": "#7b7e16",
"rgb": {
"r": 123,
"g": 126,
"b": 22
},
"hsl": {
"h": 61.731,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.57214,
"c": 0.1187,
"h": 111.4
},
"luminance": 0.19191
}Semantic roles & 50–950 ramp
primary
#7B7E16
secondary
#403DB3
accent
#3BED40
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79