#7B7A17#7B7A17
#7B7A17 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.114 H 109.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7A17 |
|---|---|
| RGB | rgb(123, 122, 23) |
| HSL | hsl(59, 68%, 29%) |
| HSV | hsv(59, 81%, 48%) |
| CMYK | cmyk(0%, 0.8%, 81.3%, 51.8%) |
| CIE-LAB | lab(49.73, -11.42, 49.63) |
| CIE-LCH | lch(49.73, 50.93, 102.96°) |
| OKLab | oklab(56.27% -0.037 0.1079) |
| OKLCH | oklch(56.27% 0.114 109) |
| XYZ | xyz(15.2832, 18.1924, 3.5169) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.99
Olive (survey)
#6E750E
ΔE00 3.46
Shit Green
#758000
ΔE00 3.80
Poop Green
#6F7C00
ΔE00 3.94
Murky Green
#6C7A0E
ΔE00 4.34
Ugly Brown
#7D7103
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7A17 #17187B
analogous
#7B4817 #7B7A17 #4A7B17
triadic
#7B7A17 #177B7A #7A177B
tetradic
#7B7A17 #177B48 #17187B #7B174A
square
#7B7A17 #177B48 #17187B #7B174A
split-complementary
#7B7A17 #174A7B #48177B
monochromatic
#1A1A05 #47470D #7B7A17 #AFAD21 #D9D733
Accessibility & contrast
On white
4.53
#7B7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7B7A17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7A17
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7A17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7A17 | 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)
#867820
Tritanopia (blue-blind)
#847268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b7a17; /* rgb */ color: rgb(123, 122, 23); /* oklch */ color: oklch(56.3% 0.114 109.0);
Tailwind
colors: {
custom: {
50: '#a5a05e',
500: '#7b7a17',
950: '#000000',
},
}SCSS
$custom: #7b7a17; $custom-light: #a5a05e; $custom-dark: #000000;
JSON
{
"hex": "#7b7a17",
"rgb": {
"r": 123,
"g": 122,
"b": 23
},
"hsl": {
"h": 59.4,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.56271,
"c": 0.11403,
"h": 109
},
"luminance": 0.18192
}Semantic roles & 50–950 ramp
primary
#7B7A17
secondary
#3E3FB0
accent
#3EEB3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79