#9B9727#9B9727
#9B9727 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.128 H 107.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9727 |
|---|---|
| RGB | rgb(155, 151, 39) |
| HSL | hsl(58, 60%, 38%) |
| HSV | hsv(58, 75%, 61%) |
| CMYK | cmyk(0%, 2.6%, 74.8%, 39.2%) |
| CIE-LAB | lab(61.00, -11.75, 55.61) |
| CIE-LCH | lch(61.00, 56.84, 101.93°) |
| OKLab | oklab(65.98% -0.0382 0.1224) |
| OKLCH | oklch(65.98% 0.128 107.4) |
| XYZ | xyz(24.9514, 29.2491, 6.2504) |
| Luminance | 0.2925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.40
Baby Poop Green
#8F9805
ΔE00 3.72
Vomit
#A2A415
ΔE00 4.55
Baby Shit Green
#889717
ΔE00 5.03
Puke
#A5A502
ΔE00 5.20
Pea Soup Green
#94A617
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9727 #272B9B
analogous
#9B5D27 #9B9727 #659B27
triadic
#9B9727 #279B97 #97279B
tetradic
#9B9727 #279B5D #272B9B #9B2765
square
#9B9727 #279B5D #272B9B #9B2765
split-complementary
#9B9727 #27659B #5D279B
monochromatic
#39380E #6A671B #9B9727 #CCC733 #D8D464
Accessibility & contrast
On white
3.07
#9B9727 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#9B9727 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9727
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9727 | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A78D82
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9b9727; /* rgb */ color: rgb(155, 151, 39); /* oklch */ color: oklch(66.0% 0.128 107.4);
Tailwind
colors: {
custom: {
50: '#bcb56a',
500: '#9b9727',
950: '#000000',
},
}SCSS
$custom: #9b9727; $custom-light: #bcb56a; $custom-dark: #000000;
JSON
{
"hex": "#9b9727",
"rgb": {
"r": 155,
"g": 151,
"b": 39
},
"hsl": {
"h": 57.931,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.65977,
"c": 0.12821,
"h": 107.4
},
"luminance": 0.29248
}Semantic roles & 50–950 ramp
primary
#9B9727
secondary
#6063BE
accent
#4AE345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A