#7B7B1E#7B7B1E
#7B7B1E is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.111 H 109.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7B1E |
|---|---|
| RGB | rgb(123, 123, 30) |
| HSL | hsl(60, 61%, 30%) |
| HSV | hsv(60, 76%, 48%) |
| CMYK | cmyk(0%, 0%, 75.6%, 51.8%) |
| CIE-LAB | lab(50.06, -11.66, 47.54) |
| CIE-LCH | lch(50.06, 48.95, 103.78°) |
| OKLab | oklab(56.55% -0.0371 0.1048) |
| OKLCH | oklch(56.55% 0.111 109.5) |
| XYZ | xyz(15.4862, 18.4711, 3.9776) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.28
Olive (survey)
#6E750E
ΔE00 3.55
Shit Green
#758000
ΔE00 3.75
Poop Green
#6F7C00
ΔE00 3.91
Murky Green
#6C7A0E
ΔE00 4.17
Ugly Brown
#7D7103
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7B1E #1E1E7B
analogous
#7B4D1E #7B7B1E #4D7B1E
triadic
#7B7B1E #1E7B7B #7B1E7B
tetradic
#7B7B1E #1E7B4D #1E1E7B #7B1E4D
square
#7B7B1E #1E7B4D #1E1E7B #7B1E4D
split-complementary
#7B7B1E #1E4C7B #4C1E7B
monochromatic
#191906 #4A4A12 #7B7B1E #ACAC2A #D1D142
Accessibility & contrast
On white
4.47
#7B7B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7B7B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7B1E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7B1E | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 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)
#85760B
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#847369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b7b1e; /* rgb */ color: rgb(123, 123, 30); /* oklch */ color: oklch(56.5% 0.111 109.5);
Tailwind
colors: {
custom: {
50: '#a4a061',
500: '#7b7b1e',
950: '#000000',
},
}SCSS
$custom: #7b7b1e; $custom-light: #a4a061; $custom-dark: #000000;
JSON
{
"hex": "#7b7b1e",
"rgb": {
"r": 123,
"g": 123,
"b": 30
},
"hsl": {
"h": 60,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.5655,
"c": 0.11113,
"h": 109.5
},
"luminance": 0.18471
}Semantic roles & 50–950 ramp
primary
#7B7B1E
secondary
#4646AE
accent
#44E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A