#978829#978829
#978829 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.113 H 100.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #978829 |
|---|---|
| RGB | rgb(151, 136, 41) |
| HSL | hsl(52, 57%, 38%) |
| HSV | hsv(52, 73%, 59%) |
| CMYK | cmyk(0%, 9.9%, 72.8%, 40.8%) |
| CIE-LAB | lab(56.44, -5.38, 50.33) |
| CIE-LCH | lch(56.44, 50.62, 96.10°) |
| OKLab | oklab(62.26% -0.0198 0.1117) |
| OKLCH | oklch(62.26% 0.113 100.1) |
| XYZ | xyz(21.9679, 24.3487, 5.6400) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.75
Baby Poop
#937C00
ΔE00 5.06
Dark Mustard
#A88905
ΔE00 5.70
Baby Poo
#AB9004
ΔE00 5.99
Baby Shit Brown
#AD900D
ΔE00 6.23
Olive
#808000
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978829 #293897
analogous
#975129 #978829 #6F9729
triadic
#978829 #299788 #882997
tetradic
#978829 #299751 #293897 #97296F
square
#978829 #299751 #293897 #97296F
split-complementary
#978829 #296F97 #512997
monochromatic
#37310F #675D1C #978829 #C7B336 #D5C665
Accessibility & contrast
On white
3.58
#978829 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#978829 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978829
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978829 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978829 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#A37E75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #978829; /* rgb */ color: rgb(151, 136, 41); /* oklch */ color: oklch(62.3% 0.113 100.1);
Tailwind
colors: {
custom: {
50: '#b9aa69',
500: '#978829',
950: '#000000',
},
}SCSS
$custom: #978829; $custom-light: #b9aa69; $custom-dark: #000000;
JSON
{
"hex": "#978829",
"rgb": {
"r": 151,
"g": 136,
"b": 41
},
"hsl": {
"h": 51.818,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.62262,
"c": 0.11348,
"h": 100.1
},
"luminance": 0.24348
}Semantic roles & 50–950 ramp
primary
#978829
secondary
#616DBB
accent
#5CE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A