#9C8F19#9C8F19
#9C8F19 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.128 H 102.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F19 |
|---|---|
| RGB | rgb(156, 143, 25) |
| HSL | hsl(54, 72%, 35%) |
| HSV | hsv(54, 84%, 61%) |
| CMYK | cmyk(0%, 8.3%, 84%, 38.8%) |
| CIE-LAB | lab(58.77, -7.55, 58.07) |
| CIE-LCH | lch(58.77, 58.56, 97.41°) |
| OKLab | oklab(64.2% -0.0278 0.1249) |
| OKLCH | oklch(64.2% 0.128 102.5) |
| XYZ | xyz(23.7094, 26.7841, 4.8405) |
| Luminance | 0.2678 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.48
Baby Shit Brown
#AD900D
ΔE00 5.00
Dark Mustard
#A88905
ΔE00 5.54
Brown Yellow
#B29705
ΔE00 5.58
Diarrhea
#9F8303
ΔE00 5.62
Pea Soup
#929901
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F19 #19269C
analogous
#9C4D19 #9C8F19 #679C19
triadic
#9C8F19 #199C8F #8F199C
tetradic
#9C8F19 #199C4D #19269C #9C1967
square
#9C8F19 #199C4D #19269C #9C1967
split-complementary
#9C8F19 #19679C #4D199C
monochromatic
#332E08 #675F11 #9C8F19 #D1BF21 #E2D44D
Accessibility & contrast
On white
3.30
#9C8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#9C8F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F19
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F19 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A19024
Tritanopia (blue-blind)
#A9847A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8f19; /* rgb */ color: rgb(156, 143, 25); /* oklch */ color: oklch(64.2% 0.128 102.5);
Tailwind
colors: {
custom: {
50: '#bdaf63',
500: '#9c8f19',
950: '#000000',
},
}SCSS
$custom: #9c8f19; $custom-light: #bdaf63; $custom-dark: #000000;
JSON
{
"hex": "#9c8f19",
"rgb": {
"r": 156,
"g": 143,
"b": 25
},
"hsl": {
"h": 54.046,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.64203,
"c": 0.12791,
"h": 102.5
},
"luminance": 0.26783
}Semantic roles & 50–950 ramp
primary
#9C8F19
secondary
#4C58C4
accent
#4BEF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A