#7B7D1B#7B7D1B
#7B7D1B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.115 H 110.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7D1B |
|---|---|
| RGB | rgb(123, 125, 27) |
| HSL | hsl(61, 64%, 30%) |
| HSV | hsv(61, 78%, 49%) |
| CMYK | cmyk(1.6%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(50.64, -12.89, 49.14) |
| CIE-LCH | lch(50.64, 50.80, 104.70°) |
| OKLab | oklab(57% -0.0408 0.1076) |
| OKLCH | oklch(57% 0.115 110.8) |
| XYZ | xyz(15.7004, 18.9578, 3.8689) |
| Luminance | 0.1896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.68
Shit Green
#758000
ΔE00 2.90
Poop Green
#6F7C00
ΔE00 3.38
Olive (survey)
#6E750E
ΔE00 3.78
Murky Green
#6C7A0E
ΔE00 3.88
Swamp Green
#748500
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7D1B #1D1B7D
analogous
#7D4E1B #7B7D1B #4A7D1B
triadic
#7B7D1B #1B7B7D #7D1B7B
tetradic
#7B7D1B #1B7D4E #1D1B7D #7D1B4A
square
#7B7D1B #1B7D4E #1D1B7D #7D1B4A
split-complementary
#7B7D1B #1B4A7D #4E1B7D
monochromatic
#191905 #494B10 #7B7D1B #ADAF26 #D2D53D
Accessibility & contrast
On white
4.38
#7B7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7B7D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7D1B
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7D1B | 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)
#877703
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7d1b; /* rgb */ color: rgb(123, 125, 27); /* oklch */ color: oklch(57.0% 0.115 110.8);
Tailwind
colors: {
custom: {
50: '#a4a260',
500: '#7b7d1b',
950: '#000000',
},
}SCSS
$custom: #7b7d1b; $custom-light: #a4a260; $custom-dark: #000000;
JSON
{
"hex": "#7b7d1b",
"rgb": {
"r": 123,
"g": 125,
"b": 27
},
"hsl": {
"h": 61.224,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.57004,
"c": 0.11506,
"h": 110.8
},
"luminance": 0.18957
}Semantic roles & 50–950 ramp
primary
#7B7D1B
secondary
#4543B1
accent
#40E744
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79