#978434#978434
#978434 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.102 H 95.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #978434 |
|---|---|
| RGB | rgb(151, 132, 52) |
| HSL | hsl(48, 49%, 40%) |
| HSV | hsv(48, 66%, 59%) |
| CMYK | cmyk(0%, 12.6%, 65.6%, 40.8%) |
| CIE-LAB | lab(55.41, -2.52, 44.51) |
| CIE-LCH | lch(55.41, 44.58, 93.24°) |
| OKLab | oklab(61.48% -0.0104 0.1014) |
| OKLCH | oklch(61.48% 0.102 95.9) |
| XYZ | xyz(21.6346, 23.3308, 6.6119) |
| Luminance | 0.2333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.99
Diarrhea
#9F8303
ΔE00 5.06
Hazel
#8E7618
ΔE00 5.51
Dark Khaki
#9B8F55
ΔE00 5.87
Puke Brown
#947706
ΔE00 6.06
Yellowish Brown
#9B7A01
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978434 #344797
analogous
#975334 #978434 #789734
triadic
#978434 #349784 #843497
tetradic
#978434 #349753 #344797 #973478
square
#978434 #349753 #344797 #973478
split-complementary
#978434 #347897 #533497
monochromatic
#3C3415 #695C24 #978434 #C0A948 #D0BE76
Accessibility & contrast
On white
3.71
#978434 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#978434 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978434
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978434 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978434 | 1.00 | 3.71 | 5.67 | 5.67 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91812B
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #978434; /* rgb */ color: rgb(151, 132, 52); /* oklch */ color: oklch(61.5% 0.102 95.9);
Tailwind
colors: {
custom: {
50: '#b8a76f',
500: '#978434',
950: '#000000',
},
}SCSS
$custom: #978434; $custom-light: #b8a76f; $custom-dark: #000000;
JSON
{
"hex": "#978434",
"rgb": {
"r": 151,
"g": 132,
"b": 52
},
"hsl": {
"h": 48.485,
"s": 48.768,
"l": 39.804
},
"oklch": {
"l": 0.61479,
"c": 0.10188,
"h": 95.9
},
"luminance": 0.2333
}Semantic roles & 50–950 ramp
primary
#978434
secondary
#6F7DB8
accent
#6AD84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A