#7B7A15#7B7A15
#7B7A15 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.115 H 109.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7A15 |
|---|---|
| RGB | rgb(123, 122, 21) |
| HSL | hsl(59, 71%, 28%) |
| HSV | hsv(59, 83%, 48%) |
| CMYK | cmyk(0%, 0.8%, 82.9%, 51.8%) |
| CIE-LAB | lab(49.72, -11.50, 50.23) |
| CIE-LCH | lch(49.72, 51.53, 102.89°) |
| OKLab | oklab(56.26% -0.0374 0.1088) |
| OKLCH | oklch(56.26% 0.115 109) |
| XYZ | xyz(15.2639, 18.1847, 3.4153) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.87
Olive (survey)
#6E750E
ΔE00 3.48
Shit Green
#758000
ΔE00 3.74
Poop Green
#6F7C00
ΔE00 3.90
Murky Green
#6C7A0E
ΔE00 4.36
Ugly Brown
#7D7103
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7A15 #15167B
analogous
#7B4715 #7B7A15 #497B15
triadic
#7B7A15 #157B7A #7A157B
tetradic
#7B7A15 #157B47 #15167B #7B1549
square
#7B7A15 #157B47 #15167B #7B1549
split-complementary
#7B7A15 #15497B #47157B
monochromatic
#1A1A04 #47460C #7B7A15 #AFAE1E #DBDA2F
Accessibility & contrast
On white
4.53
#7B7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7B7A15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7A15
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7A15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7A15 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#847268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b7a15; /* rgb */ color: rgb(123, 122, 21); /* oklch */ color: oklch(56.3% 0.115 109.0);
Tailwind
colors: {
custom: {
50: '#a5a05d',
500: '#7b7a15',
950: '#000000',
},
}SCSS
$custom: #7b7a15; $custom-light: #a5a05d; $custom-dark: #000000;
JSON
{
"hex": "#7b7a15",
"rgb": {
"r": 123,
"g": 122,
"b": 21
},
"hsl": {
"h": 59.412,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.56261,
"c": 0.115,
"h": 109
},
"luminance": 0.18184
}Semantic roles & 50–950 ramp
primary
#7B7A15
secondary
#3B3DB0
accent
#3CEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79