#7B7E15#7B7E15
#7B7E15 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 | #7B7E15 |
|---|---|
| RGB | rgb(123, 126, 21) |
| HSL | hsl(62, 71%, 29%) |
| HSV | hsv(62, 83%, 49%) |
| CMYK | cmyk(2.4%, 0%, 83.3%, 50.6%) |
| CIE-LAB | lab(50.91, -13.67, 51.27) |
| CIE-LCH | lch(50.91, 53.06, 104.93°) |
| OKLab | oklab(57.21% -0.0434 0.111) |
| OKLCH | oklch(57.21% 0.119 111.4) |
| XYZ | xyz(15.7652, 19.1872, 3.5824) |
| Luminance | 0.1919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.12
Shit Green
#758000
ΔE00 2.32
Poop Green
#6F7C00
ΔE00 3.11
Murky Green
#6C7A0E
ΔE00 3.87
Olive (survey)
#6E750E
ΔE00 4.01
Swamp Green
#748500
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7E15 #18157E
analogous
#7E4D15 #7B7E15 #477E15
triadic
#7B7E15 #157B7E #7E157B
tetradic
#7B7E15 #157E4D #18157E #7E1547
square
#7B7E15 #157E4D #18157E #7E1547
split-complementary
#7B7E15 #15477E #4D157E
monochromatic
#1A1A04 #484A0C #7B7E15 #AEB21E #D8DD31
Accessibility & contrast
On white
4.34
#7B7E15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7B7E15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7E15
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7E15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7E15 | 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)
#897800
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7e15; /* rgb */ color: rgb(123, 126, 21); /* oklch */ color: oklch(57.2% 0.119 111.4);
Tailwind
colors: {
custom: {
50: '#a5a35e',
500: '#7b7e15',
950: '#000000',
},
}SCSS
$custom: #7b7e15; $custom-light: #a5a35e; $custom-dark: #000000;
JSON
{
"hex": "#7b7e15",
"rgb": {
"r": 123,
"g": 126,
"b": 21
},
"hsl": {
"h": 61.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.57209,
"c": 0.11917,
"h": 111.4
},
"luminance": 0.19187
}Semantic roles & 50–950 ramp
primary
#7B7E15
secondary
#3F3CB3
accent
#3AEE3F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79