#7B7B18#7B7B18
#7B7B18 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.115 H 109.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7B18 |
|---|---|
| RGB | rgb(123, 123, 24) |
| HSL | hsl(60, 67%, 29%) |
| HSV | hsv(60, 80%, 48%) |
| CMYK | cmyk(0%, 0%, 80.5%, 51.8%) |
| CIE-LAB | lab(50.03, -11.93, 49.58) |
| CIE-LCH | lch(50.03, 51.00, 103.53°) |
| OKLab | oklab(56.51% -0.0384 0.1079) |
| OKLCH | oklch(56.51% 0.115 109.6) |
| XYZ | xyz(15.4168, 18.4433, 3.6118) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.79
Shit Green
#758000
ΔE00 3.45
Olive (survey)
#6E750E
ΔE00 3.51
Poop Green
#6F7C00
ΔE00 3.70
Murky Green
#6C7A0E
ΔE00 4.15
Ugly Brown
#7D7103
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7B18 #18187B
analogous
#7B4A18 #7B7B18 #4A7B18
triadic
#7B7B18 #187B7B #7B187B
tetradic
#7B7B18 #187B4A #18187B #7B184A
square
#7B7B18 #187B4A #18187B #7B184A
split-complementary
#7B7B18 #184A7B #4A187B
monochromatic
#1A1A05 #48480E #7B7B18 #AEAE22 #D8D836
Accessibility & contrast
On white
4.48
#7B7B18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7B7B18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7B18
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7B18 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#877821
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b7b18; /* rgb */ color: rgb(123, 123, 24); /* oklch */ color: oklch(56.5% 0.115 109.6);
Tailwind
colors: {
custom: {
50: '#a4a05f',
500: '#7b7b18',
950: '#000000',
},
}SCSS
$custom: #7b7b18; $custom-light: #a4a05f; $custom-dark: #000000;
JSON
{
"hex": "#7b7b18",
"rgb": {
"r": 123,
"g": 123,
"b": 24
},
"hsl": {
"h": 60,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.56513,
"c": 0.11455,
"h": 109.6
},
"luminance": 0.18443
}Semantic roles & 50–950 ramp
primary
#7B7B18
secondary
#3F3FB0
accent
#3EEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79