#7B7E19#7B7E19
#7B7E19 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.117 H 111.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7E19 |
|---|---|
| RGB | rgb(123, 126, 25) |
| HSL | hsl(62, 67%, 30%) |
| HSV | hsv(62, 80%, 49%) |
| CMYK | cmyk(2.4%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(50.92, -13.51, 50.06) |
| CIE-LCH | lch(50.92, 51.86, 105.11°) |
| OKLab | oklab(57.23% -0.0427 0.1092) |
| OKLCH | oklch(57.23% 0.117 111.4) |
| XYZ | xyz(15.8053, 19.2033, 3.7935) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.42
Shit Green
#758000
ΔE00 2.50
Poop Green
#6F7C00
ΔE00 3.19
Murky Green
#6C7A0E
ΔE00 3.83
Olive (survey)
#6E750E
ΔE00 3.98
Swamp Green
#748500
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7E19 #1C197E
analogous
#7E4F19 #7B7E19 #497E19
triadic
#7B7E19 #197B7E #7E197B
tetradic
#7B7E19 #197E4F #1C197E #7E1949
square
#7B7E19 #197E4F #1C197E #7E1949
split-complementary
#7B7E19 #19497E #4F197E
monochromatic
#191A05 #494B0F #7B7E19 #ADB123 #D3D83A
Accessibility & contrast
On white
4.34
#7B7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7B7E19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7E19
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7E19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7E19 | 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)
#897A22
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7e19; /* rgb */ color: rgb(123, 126, 25); /* oklch */ color: oklch(57.2% 0.117 111.4);
Tailwind
colors: {
custom: {
50: '#a4a360',
500: '#7b7e19',
950: '#000000',
},
}SCSS
$custom: #7b7e19; $custom-light: #a4a360; $custom-dark: #000000;
JSON
{
"hex": "#7b7e19",
"rgb": {
"r": 123,
"g": 126,
"b": 25
},
"hsl": {
"h": 61.782,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.5723,
"c": 0.11721,
"h": 111.4
},
"luminance": 0.19203
}Semantic roles & 50–950 ramp
primary
#7B7E19
secondary
#4441B2
accent
#3EEA43
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79