#7B7923#7B7923
#7B7923 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.106 H 108.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7923 |
|---|---|
| RGB | rgb(123, 121, 35) |
| HSL | hsl(59, 56%, 31%) |
| HSV | hsv(59, 72%, 48%) |
| CMYK | cmyk(0%, 1.6%, 71.5%, 51.8%) |
| CIE-LAB | lab(49.51, -10.30, 45.05) |
| CIE-LCH | lch(49.51, 46.21, 102.88°) |
| OKLab | oklab(56.12% -0.0327 0.1005) |
| OKLCH | oklch(56.12% 0.106 108) |
| XYZ | xyz(15.3097, 18.0075, 4.2591) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.69
Olive
#808000
ΔE00 4.27
Ugly Brown
#7D7103
ΔE00 4.71
Olive Drab
#6F7632
ΔE00 4.74
Murky Green
#6C7A0E
ΔE00 4.74
Poop Green
#6F7C00
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7923 #23257B
analogous
#7B4D23 #7B7923 #517B23
triadic
#7B7923 #237B79 #79237B
tetradic
#7B7923 #237B4D #23257B #7B2351
square
#7B7923 #237B4D #23257B #7B2351
split-complementary
#7B7923 #23517B #4D237B
monochromatic
#1C1B08 #4B4A15 #7B7923 #ABA831 #CCC94C
Accessibility & contrast
On white
4.56
#7B7923 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7B7923 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7923
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7923 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7923 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b7923; /* rgb */ color: rgb(123, 121, 35); /* oklch */ color: oklch(56.1% 0.106 108.0);
Tailwind
colors: {
custom: {
50: '#a49f64',
500: '#7b7923',
950: '#000000',
},
}SCSS
$custom: #7b7923; $custom-light: #a49f64; $custom-dark: #000000;
JSON
{
"hex": "#7b7923",
"rgb": {
"r": 123,
"g": 121,
"b": 35
},
"hsl": {
"h": 58.636,
"s": 55.696,
"l": 30.98
},
"oklch": {
"l": 0.56116,
"c": 0.10566,
"h": 108
},
"luminance": 0.18007
}Semantic roles & 50–950 ramp
primary
#7B7923
secondary
#4C4EAE
accent
#4CDF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A