#978B30#978B30
#978B30 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.111 H 101.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #978B30 |
|---|---|
| RGB | rgb(151, 139, 48) |
| HSL | hsl(53, 52%, 39%) |
| HSV | hsv(53, 68%, 59%) |
| CMYK | cmyk(0%, 7.9%, 68.2%, 40.8%) |
| CIE-LAB | lab(57.33, -6.62, 48.32) |
| CIE-LCH | lch(57.33, 48.77, 97.81°) |
| OKLab | oklab(62.99% -0.0226 0.1088) |
| OKLCH | oklch(62.99% 0.111 101.7) |
| XYZ | xyz(22.5296, 25.2589, 6.4845) |
| Luminance | 0.2526 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.97
Diarrhea
#9F8303
ΔE00 6.03
Baby Poop
#937C00
ΔE00 6.44
Baby Poo
#AB9004
ΔE00 6.50
Olive
#808000
ΔE00 6.59
Dark Mustard
#A88905
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B30 #303C97
analogous
#975830 #978B30 #709730
triadic
#978B30 #30978B #8B3097
tetradic
#978B30 #309758 #303C97 #973070
square
#978B30 #309758 #303C97 #973070
split-complementary
#978B30 #307097 #583097
monochromatic
#3A3612 #696021 #978B30 #C3B441 #D2C670
Accessibility & contrast
On white
3.47
#978B30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#978B30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B30
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B30 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#A28178
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b30; /* rgb */ color: rgb(151, 139, 48); /* oklch */ color: oklch(63.0% 0.111 101.7);
Tailwind
colors: {
custom: {
50: '#b9ac6d',
500: '#978b30',
950: '#000000',
},
}SCSS
$custom: #978b30; $custom-light: #b9ac6d; $custom-dark: #000000;
JSON
{
"hex": "#978b30",
"rgb": {
"r": 151,
"g": 139,
"b": 48
},
"hsl": {
"h": 53.01,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.62986,
"c": 0.11107,
"h": 101.7
},
"luminance": 0.25258
}Semantic roles & 50–950 ramp
primary
#978B30
secondary
#6A73B9
accent
#5DDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A