#978734#978734
#978734 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.104 H 98.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #978734 |
|---|---|
| RGB | rgb(151, 135, 52) |
| HSL | hsl(50, 49%, 40%) |
| HSV | hsv(50, 66%, 59%) |
| CMYK | cmyk(0%, 10.6%, 65.6%, 40.8%) |
| CIE-LAB | lab(56.24, -4.18, 45.41) |
| CIE-LCH | lch(56.24, 45.60, 95.26°) |
| OKLab | oklab(62.14% -0.0151 0.1032) |
| OKLCH | oklch(62.14% 0.104 98.3) |
| XYZ | xyz(22.0473, 24.1562, 6.7494) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.39
Dark Khaki
#9B8F55
ΔE00 5.49
Baby Poop
#937C00
ΔE00 5.55
Dark Mustard
#A88905
ΔE00 6.37
Hazel
#8E7618
ΔE00 6.53
Baby Poo
#AB9004
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978734 #344497
analogous
#975634 #978734 #769734
triadic
#978734 #349787 #873497
tetradic
#978734 #349756 #344497 #973476
square
#978734 #349756 #344497 #973476
split-complementary
#978734 #347697 #563497
monochromatic
#3C3615 #695E24 #978734 #C0AD48 #D0C176
Accessibility & contrast
On white
3.60
#978734 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#978734 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978734
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978734 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978734 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94842A
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #978734; /* rgb */ color: rgb(151, 135, 52); /* oklch */ color: oklch(62.1% 0.104 98.3);
Tailwind
colors: {
custom: {
50: '#b8a96f',
500: '#978734',
950: '#000000',
},
}SCSS
$custom: #978734; $custom-light: #b8a96f; $custom-dark: #000000;
JSON
{
"hex": "#978734",
"rgb": {
"r": 151,
"g": 135,
"b": 52
},
"hsl": {
"h": 50.303,
"s": 48.768,
"l": 39.804
},
"oklch": {
"l": 0.62138,
"c": 0.10434,
"h": 98.3
},
"luminance": 0.24155
}Semantic roles & 50–950 ramp
primary
#978734
secondary
#6F7BB8
accent
#66D84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B