#978729#978729
#978729 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.113 H 99.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #978729 |
|---|---|
| RGB | rgb(151, 135, 41) |
| HSL | hsl(51, 57%, 38%) |
| HSV | hsv(51, 73%, 59%) |
| CMYK | cmyk(0%, 10.6%, 72.8%, 40.8%) |
| CIE-LAB | lab(56.16, -4.83, 50.06) |
| CIE-LCH | lch(56.16, 50.29, 95.51°) |
| OKLab | oklab(62.04% -0.0183 0.1112) |
| OKLCH | oklch(62.04% 0.113 99.3) |
| XYZ | xyz(21.8277, 24.0684, 5.5933) |
| Luminance | 0.2407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.49
Baby Poop
#937C00
ΔE00 4.73
Dark Mustard
#A88905
ΔE00 5.56
Baby Poo
#AB9004
ΔE00 6.04
Baby Shit Brown
#AD900D
ΔE00 6.25
Hazel
#8E7618
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978729 #293997
analogous
#975029 #978729 #709729
triadic
#978729 #299787 #872997
tetradic
#978729 #299750 #293997 #972970
square
#978729 #299750 #293997 #972970
split-complementary
#978729 #297097 #502997
monochromatic
#37310F #675C1C #978729 #C7B236 #D5C565
Accessibility & contrast
On white
3.61
#978729 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#978729 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978729
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978729 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978729 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#99892F
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #978729; /* rgb */ color: rgb(151, 135, 41); /* oklch */ color: oklch(62.0% 0.113 99.3);
Tailwind
colors: {
custom: {
50: '#b9a969',
500: '#978729',
950: '#000000',
},
}SCSS
$custom: #978729; $custom-light: #b9a969; $custom-dark: #000000;
JSON
{
"hex": "#978729",
"rgb": {
"r": 151,
"g": 135,
"b": 41
},
"hsl": {
"h": 51.273,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.62041,
"c": 0.11264,
"h": 99.3
},
"luminance": 0.24067
}Semantic roles & 50–950 ramp
primary
#978729
secondary
#616EBB
accent
#5EE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A