#978427#978427
#978427 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.112 H 97.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #978427 |
|---|---|
| RGB | rgb(151, 132, 39) |
| HSL | hsl(50, 59%, 37%) |
| HSV | hsv(50, 74%, 59%) |
| CMYK | cmyk(0%, 12.6%, 74.2%, 40.8%) |
| CIE-LAB | lab(55.31, -3.27, 50.03) |
| CIE-LCH | lch(55.31, 50.13, 93.74°) |
| OKLab | oklab(61.36% -0.0141 0.1107) |
| OKLCH | oklch(61.36% 0.112 97.3) |
| XYZ | xyz(21.3810, 23.2294, 5.2766) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.73
Diarrhea
#9F8303
ΔE00 3.74
Hazel
#8E7618
ΔE00 5.21
Dark Mustard
#A88905
ΔE00 5.23
Puke Brown
#947706
ΔE00 5.42
Yellowish Brown
#9B7A01
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978427 #273A97
analogous
#974C27 #978427 #729727
triadic
#978427 #279784 #842797
tetradic
#978427 #27974C #273A97 #972772
square
#978427 #27974C #273A97 #972772
split-complementary
#978427 #277297 #4C2797
monochromatic
#362F0E #66591A #978427 #C8AF34 #D6C362
Accessibility & contrast
On white
3.72
#978427 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#978427 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978427
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978427 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978427; /* rgb */ color: rgb(151, 132, 39); /* oklch */ color: oklch(61.4% 0.112 97.3);
Tailwind
colors: {
custom: {
50: '#b9a768',
500: '#978427',
950: '#000000',
},
}SCSS
$custom: #978427; $custom-light: #b9a768; $custom-dark: #000000;
JSON
{
"hex": "#978427",
"rgb": {
"r": 151,
"g": 132,
"b": 39
},
"hsl": {
"h": 49.821,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.61364,
"c": 0.11159,
"h": 97.3
},
"luminance": 0.23228
}Semantic roles & 50–950 ramp
primary
#978427
secondary
#5E6EBC
accent
#60E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A