#9B9223#9B9223
#9B9223 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.8% C 0.126 H 104.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9223 |
|---|---|
| RGB | rgb(155, 146, 35) |
| HSL | hsl(56, 63%, 37%) |
| HSV | hsv(56, 77%, 61%) |
| CMYK | cmyk(0%, 5.8%, 77.4%, 39.2%) |
| CIE-LAB | lab(59.57, -9.26, 55.66) |
| CIE-LCH | lch(59.57, 56.43, 99.45°) |
| OKLab | oklab(64.83% -0.0316 0.1217) |
| OKLCH | oklch(64.83% 0.126 104.6) |
| XYZ | xyz(24.1009, 27.6487, 5.6570) |
| Luminance | 0.2765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.78
Baby Poop Green
#8F9805
ΔE00 5.06
Baby Poo
#AB9004
ΔE00 5.67
Baby Shit Brown
#AD900D
ΔE00 6.15
Vomit
#A2A415
ΔE00 6.18
Brown Yellow
#B29705
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9223 #232C9B
analogous
#9B5623 #9B9223 #689B23
triadic
#9B9223 #239B92 #92239B
tetradic
#9B9223 #239B56 #232C9B #9B2368
square
#9B9223 #239B56 #232C9B #9B2368
split-complementary
#9B9223 #23689B #56239B
monochromatic
#37340C #696318 #9B9223 #CDC12E #DBD15E
Accessibility & contrast
On white
3.22
#9B9223 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#9B9223 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9223
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9223 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9223 | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D08
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A7887D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9b9223; /* rgb */ color: rgb(155, 146, 35); /* oklch */ color: oklch(64.8% 0.126 104.6);
Tailwind
colors: {
custom: {
50: '#bcb167',
500: '#9b9223',
950: '#000000',
},
}SCSS
$custom: #9b9223; $custom-light: #bcb167; $custom-dark: #000000;
JSON
{
"hex": "#9b9223",
"rgb": {
"r": 155,
"g": 146,
"b": 35
},
"hsl": {
"h": 55.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.6483,
"c": 0.12576,
"h": 104.6
},
"luminance": 0.27648
}Semantic roles & 50–950 ramp
primary
#9B9223
secondary
#5A62BF
accent
#4EE642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A