#978230#978230
#978230 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.104 H 94.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #978230 |
|---|---|
| RGB | rgb(151, 130, 48) |
| HSL | hsl(48, 52%, 39%) |
| HSV | hsv(48, 68%, 59%) |
| CMYK | cmyk(0%, 13.9%, 68.2%, 40.8%) |
| CIE-LAB | lab(54.82, -1.67, 45.72) |
| CIE-LCH | lch(54.82, 45.75, 92.09°) |
| OKLab | oklab(61% -0.0084 0.1032) |
| OKLCH | oklch(61% 0.104 94.7) |
| XYZ | xyz(21.2797, 22.7591, 6.0678) |
| Luminance | 0.2276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.30
Diarrhea
#9F8303
ΔE00 4.54
Hazel
#8E7618
ΔE00 4.70
Puke Brown
#947706
ΔE00 5.16
Yellowish Brown
#9B7A01
ΔE00 5.28
Dark Mustard
#A88905
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978230 #304597
analogous
#974F30 #978230 #799730
triadic
#978230 #309782 #823097
tetradic
#978230 #30974F #304597 #973079
square
#978230 #30974F #304597 #973079
split-complementary
#978230 #307997 #4F3097
monochromatic
#3A3212 #695A21 #978230 #C3A841 #D2BE70
Accessibility & contrast
On white
3.78
#978230 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#978230 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978230
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978230 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #978230; /* rgb */ color: rgb(151, 130, 48); /* oklch */ color: oklch(61.0% 0.104 94.7);
Tailwind
colors: {
custom: {
50: '#b9a66d',
500: '#978230',
950: '#000000',
},
}SCSS
$custom: #978230; $custom-light: #b9a66d; $custom-dark: #000000;
JSON
{
"hex": "#978230",
"rgb": {
"r": 151,
"g": 130,
"b": 48
},
"hsl": {
"h": 47.767,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.61003,
"c": 0.10358,
"h": 94.7
},
"luminance": 0.22758
}Semantic roles & 50–950 ramp
primary
#978230
secondary
#6A7AB9
accent
#6ADB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A