#7B7C18#7B7C18
#7B7C18 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.116 H 110.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7C18 |
|---|---|
| RGB | rgb(123, 124, 24) |
| HSL | hsl(61, 68%, 29%) |
| HSV | hsv(61, 81%, 49%) |
| CMYK | cmyk(0.8%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(50.33, -12.47, 49.85) |
| CIE-LCH | lch(50.33, 51.38, 104.05°) |
| OKLab | oklab(56.75% -0.0399 0.1085) |
| OKLCH | oklch(56.75% 0.116 110.2) |
| XYZ | xyz(15.5415, 18.6927, 3.6533) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.58
Shit Green
#758000
ΔE00 3.09
Poop Green
#6F7C00
ΔE00 3.47
Olive (survey)
#6E750E
ΔE00 3.62
Murky Green
#6C7A0E
ΔE00 4.00
Swamp Green
#748500
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7C18 #19187C
analogous
#7C4B18 #7B7C18 #497C18
triadic
#7B7C18 #187B7C #7C187B
tetradic
#7B7C18 #187C4B #19187C #7C1849
square
#7B7C18 #187C4B #19187C #7C1849
split-complementary
#7B7C18 #18497C #4B187C
monochromatic
#191A05 #48490E #7B7C18 #AEAF22 #D7D836
Accessibility & contrast
On white
4.43
#7B7C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7B7C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7C18
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7C18 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#84746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7b7c18; /* rgb */ color: rgb(123, 124, 24); /* oklch */ color: oklch(56.8% 0.116 110.2);
Tailwind
colors: {
custom: {
50: '#a4a15f',
500: '#7b7c18',
950: '#000000',
},
}SCSS
$custom: #7b7c18; $custom-light: #a4a15f; $custom-dark: #000000;
JSON
{
"hex": "#7b7c18",
"rgb": {
"r": 123,
"g": 124,
"b": 24
},
"hsl": {
"h": 60.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.5675,
"c": 0.11561,
"h": 110.2
},
"luminance": 0.18692
}Semantic roles & 50–950 ramp
primary
#7B7C18
secondary
#403FB1
accent
#3DEA3F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79