#7B7C1B#7B7C1B
#7B7C1B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.114 H 110.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7C1B |
|---|---|
| RGB | rgb(123, 124, 27) |
| HSL | hsl(61, 64%, 30%) |
| HSV | hsv(61, 78%, 49%) |
| CMYK | cmyk(0.8%, 0%, 78.2%, 51.4%) |
| CIE-LAB | lab(50.34, -12.35, 48.87) |
| CIE-LCH | lch(50.34, 50.40, 104.18°) |
| OKLab | oklab(56.77% -0.0393 0.107) |
| OKLCH | oklch(56.77% 0.114 110.1) |
| XYZ | xyz(15.5744, 18.7058, 3.8269) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.82
Shit Green
#758000
ΔE00 3.23
Poop Green
#6F7C00
ΔE00 3.56
Olive (survey)
#6E750E
ΔE00 3.62
Murky Green
#6C7A0E
ΔE00 3.99
Swamp Green
#748500
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7C1B #1C1B7C
analogous
#7C4D1B #7B7C1B #4A7C1B
triadic
#7B7C1B #1B7B7C #7C1B7B
tetradic
#7B7C1B #1B7C4D #1C1B7C #7C1B4A
square
#7B7C1B #1B7C4D #1C1B7C #7C1B4A
split-complementary
#7B7C1B #1B4A7C #4D1B7C
monochromatic
#191905 #494A10 #7B7C1B #ADAE26 #D3D53D
Accessibility & contrast
On white
4.43
#7B7C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7B7C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7C1B
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7C1B | 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)
#867604
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#84746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7b7c1b; /* rgb */ color: rgb(123, 124, 27); /* oklch */ color: oklch(56.8% 0.114 110.1);
Tailwind
colors: {
custom: {
50: '#a4a160',
500: '#7b7c1b',
950: '#000000',
},
}SCSS
$custom: #7b7c1b; $custom-light: #a4a160; $custom-dark: #000000;
JSON
{
"hex": "#7b7c1b",
"rgb": {
"r": 123,
"g": 124,
"b": 27
},
"hsl": {
"h": 60.619,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.56767,
"c": 0.11398,
"h": 110.1
},
"luminance": 0.18705
}Semantic roles & 50–950 ramp
primary
#7B7C1B
secondary
#4443B0
accent
#41E742
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79