#7B7E18#7B7E18
#7B7E18 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.118 H 111.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7E18 |
|---|---|
| RGB | rgb(123, 126, 24) |
| HSL | hsl(62, 68%, 29%) |
| HSV | hsv(62, 81%, 49%) |
| CMYK | cmyk(2.4%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(50.92, -13.55, 50.38) |
| CIE-LCH | lch(50.92, 52.17, 105.06°) |
| OKLab | oklab(57.23% -0.0429 0.1096) |
| OKLCH | oklch(57.23% 0.118 111.4) |
| XYZ | xyz(15.7947, 19.1990, 3.7377) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.34
Shit Green
#758000
ΔE00 2.45
Poop Green
#6F7C00
ΔE00 3.17
Murky Green
#6C7A0E
ΔE00 3.84
Olive (survey)
#6E750E
ΔE00 3.99
Swamp Green
#748500
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7E18 #1B187E
analogous
#7E4E18 #7B7E18 #487E18
triadic
#7B7E18 #187B7E #7E187B
tetradic
#7B7E18 #187E4E #1B187E #7E1848
square
#7B7E18 #187E4E #1B187E #7E1848
split-complementary
#7B7E18 #18487E #4E187E
monochromatic
#191A05 #494B0E #7B7E18 #ADB122 #D4D937
Accessibility & contrast
On white
4.34
#7B7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7B7E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7E18
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7E18 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7e18; /* rgb */ color: rgb(123, 126, 24); /* oklch */ color: oklch(57.2% 0.118 111.4);
Tailwind
colors: {
custom: {
50: '#a4a35f',
500: '#7b7e18',
950: '#000000',
},
}SCSS
$custom: #7b7e18; $custom-light: #a4a35f; $custom-dark: #000000;
JSON
{
"hex": "#7b7e18",
"rgb": {
"r": 123,
"g": 126,
"b": 24
},
"hsl": {
"h": 61.765,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.57225,
"c": 0.11773,
"h": 111.4
},
"luminance": 0.19199
}Semantic roles & 50–950 ramp
primary
#7B7E18
secondary
#433FB2
accent
#3DEB42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79