#7B7D1E#7B7D1E
#7B7D1E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.113 H 110.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7D1E |
|---|---|
| RGB | rgb(123, 125, 30) |
| HSL | hsl(61, 61%, 30%) |
| HSV | hsv(61, 76%, 49%) |
| CMYK | cmyk(1.6%, 0%, 76%, 51%) |
| CIE-LAB | lab(50.65, -12.75, 48.10) |
| CIE-LCH | lch(50.65, 49.76, 104.85°) |
| OKLab | oklab(57.02% -0.0401 0.106) |
| OKLCH | oklch(57.02% 0.113 110.7) |
| XYZ | xyz(15.7369, 18.9724, 4.0611) |
| Luminance | 0.1897 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.96
Shit Green
#758000
ΔE00 3.09
Poop Green
#6F7C00
ΔE00 3.51
Olive (survey)
#6E750E
ΔE00 3.80
Murky Green
#6C7A0E
ΔE00 3.90
Swamp Green
#748500
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7D1E #201E7D
analogous
#7D4F1E #7B7D1E #4B7D1E
triadic
#7B7D1E #1E7B7D #7D1E7B
tetradic
#7B7D1E #1E7D4F #201E7D #7D1E4B
square
#7B7D1E #1E7D4F #201E7D #7D1E4B
split-complementary
#7B7D1E #1E4B7D #4F1E7D
monochromatic
#1A1A06 #4A4C12 #7B7D1E #ACAE2A #CFD243
Accessibility & contrast
On white
4.38
#7B7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7B7D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7D1E
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7D1E | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7d1e; /* rgb */ color: rgb(123, 125, 30); /* oklch */ color: oklch(57.0% 0.113 110.7);
Tailwind
colors: {
custom: {
50: '#a4a262',
500: '#7b7d1e',
950: '#000000',
},
}SCSS
$custom: #7b7d1e; $custom-light: #a4a262; $custom-dark: #000000;
JSON
{
"hex": "#7b7d1e",
"rgb": {
"r": 123,
"g": 125,
"b": 30
},
"hsl": {
"h": 61.263,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.57024,
"c": 0.11329,
"h": 110.7
},
"luminance": 0.18972
}Semantic roles & 50–950 ramp
primary
#7B7D1E
secondary
#4946B0
accent
#43E447
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A