#9B9723#9B9723
#9B9723 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.130 H 107.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9723 |
|---|---|
| RGB | rgb(155, 151, 35) |
| HSL | hsl(58, 63%, 37%) |
| HSV | hsv(58, 77%, 61%) |
| CMYK | cmyk(0%, 2.6%, 77.4%, 39.2%) |
| CIE-LAB | lab(60.98, -11.92, 56.96) |
| CIE-LCH | lch(60.98, 58.19, 101.82°) |
| OKLab | oklab(65.95% -0.0391 0.1245) |
| OKLCH | oklch(65.95% 0.13 107.4) |
| XYZ | xyz(24.8886, 29.2240, 5.9196) |
| Luminance | 0.2922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.20
Baby Poop Green
#8F9805
ΔE00 3.57
Vomit
#A2A415
ΔE00 4.38
Puke
#A5A502
ΔE00 4.99
Baby Shit Green
#889717
ΔE00 5.03
Pea Soup Green
#94A617
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9723 #23279B
analogous
#9B5B23 #9B9723 #639B23
triadic
#9B9723 #239B97 #97239B
tetradic
#9B9723 #239B5B #23279B #9B2363
square
#9B9723 #239B5B #23279B #9B2363
split-complementary
#9B9723 #23639B #5B239B
monochromatic
#37360C #696618 #9B9723 #CDC82E #DBD65E
Accessibility & contrast
On white
3.07
#9B9723 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#9B9723 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9723
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9723 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9723 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49105
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#A78D81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9b9723; /* rgb */ color: rgb(155, 151, 35); /* oklch */ color: oklch(66.0% 0.130 107.4);
Tailwind
colors: {
custom: {
50: '#bcb568',
500: '#9b9723',
950: '#000000',
},
}SCSS
$custom: #9b9723; $custom-light: #bcb568; $custom-dark: #000000;
JSON
{
"hex": "#9b9723",
"rgb": {
"r": 155,
"g": 151,
"b": 35
},
"hsl": {
"h": 58,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.65952,
"c": 0.13047,
"h": 107.4
},
"luminance": 0.29223
}Semantic roles & 50–950 ramp
primary
#9B9723
secondary
#5A5EBF
accent
#47E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A