#7B7A14#7B7A14
#7B7A14 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 | #7B7A14 |
|---|---|
| RGB | rgb(123, 122, 20) |
| HSL | hsl(59, 72%, 28%) |
| HSV | hsv(59, 84%, 48%) |
| CMYK | cmyk(0%, 0.8%, 83.7%, 51.8%) |
| CIE-LAB | lab(49.71, -11.53, 50.52) |
| CIE-LCH | lch(49.71, 51.82, 102.86°) |
| OKLab | oklab(56.26% -0.0376 0.1092) |
| OKLCH | oklch(56.26% 0.115 109) |
| XYZ | xyz(15.2548, 18.1810, 3.3674) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.81
Olive (survey)
#6E750E
ΔE00 3.49
Shit Green
#758000
ΔE00 3.71
Poop Green
#6F7C00
ΔE00 3.89
Murky Green
#6C7A0E
ΔE00 4.37
Ugly Brown
#7D7103
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7A14 #14157B
analogous
#7B4614 #7B7A14 #497B14
triadic
#7B7A14 #147B7A #7A147B
tetradic
#7B7A14 #147B46 #14157B #7B1449
square
#7B7A14 #147B46 #14157B #7B1449
split-complementary
#7B7A14 #14497B #46147B
monochromatic
#1A1A04 #46460B #7B7A14 #B0AE1D #DDDB2D
Accessibility & contrast
On white
4.53
#7B7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7B7A14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7A14
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7A14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7A14 | 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)
#847168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b7a14; /* rgb */ color: rgb(123, 122, 20); /* oklch */ color: oklch(56.3% 0.115 109.0);
Tailwind
colors: {
custom: {
50: '#a5a05d',
500: '#7b7a14',
950: '#000000',
},
}SCSS
$custom: #7b7a14; $custom-light: #a5a05d; $custom-dark: #000000;
JSON
{
"hex": "#7b7a14",
"rgb": {
"r": 123,
"g": 122,
"b": 20
},
"hsl": {
"h": 59.417,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.56256,
"c": 0.11547,
"h": 109
},
"luminance": 0.18181
}Semantic roles & 50–950 ramp
primary
#7B7A14
secondary
#3A3BB1
accent
#3BEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79