#7B7927#7B7927
#7B7927 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.103 H 107.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7927 |
|---|---|
| RGB | rgb(123, 121, 39) |
| HSL | hsl(59, 52%, 32%) |
| HSV | hsv(59, 68%, 48%) |
| CMYK | cmyk(0%, 1.6%, 68.3%, 51.8%) |
| CIE-LAB | lab(49.54, -10.06, 43.39) |
| CIE-LCH | lch(49.54, 44.54, 103.06°) |
| OKLab | oklab(56.15% -0.0316 0.0977) |
| OKLCH | oklch(56.15% 0.103 107.9) |
| XYZ | xyz(15.3725, 18.0327, 4.5899) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.92
Olive Drab
#6F7632
ΔE00 4.36
Olive
#808000
ΔE00 4.72
Murky Green
#6C7A0E
ΔE00 4.93
Ugly Brown
#7D7103
ΔE00 5.03
Poop Green
#6F7C00
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7927 #27297B
analogous
#7B4F27 #7B7927 #537B27
triadic
#7B7927 #277B79 #79277B
tetradic
#7B7927 #277B4F #27297B #7B2753
square
#7B7927 #277B4F #27297B #7B2753
split-complementary
#7B7927 #27537B #4F277B
monochromatic
#1E1E0A #4D4B18 #7B7927 #A9A736 #C9C654
Accessibility & contrast
On white
4.56
#7B7927 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7B7927 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7927
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7927 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b7927; /* rgb */ color: rgb(123, 121, 39); /* oklch */ color: oklch(56.1% 0.103 107.9);
Tailwind
colors: {
custom: {
50: '#a49f66',
500: '#7b7927',
950: '#000000',
},
}SCSS
$custom: #7b7927; $custom-light: #a49f66; $custom-dark: #000000;
JSON
{
"hex": "#7b7927",
"rgb": {
"r": 123,
"g": 121,
"b": 39
},
"hsl": {
"h": 58.571,
"s": 51.852,
"l": 31.765
},
"oklch": {
"l": 0.5615,
"c": 0.10266,
"h": 107.9
},
"luminance": 0.18032
}Semantic roles & 50–950 ramp
primary
#7B7927
secondary
#5153AD
accent
#50DB4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A