#978136#978136
#978136 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.098 H 92.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #978136 |
|---|---|
| RGB | rgb(151, 129, 54) |
| HSL | hsl(46, 47%, 40%) |
| HSV | hsv(46, 64%, 59%) |
| CMYK | cmyk(0%, 14.6%, 64.2%, 40.8%) |
| CIE-LAB | lab(54.60, -0.72, 42.69) |
| CIE-LCH | lch(54.60, 42.70, 90.96°) |
| OKLab | oklab(60.85% -0.0049 0.0978) |
| OKLCH | oklch(60.85% 0.098 92.9) |
| XYZ | xyz(21.2796, 22.5473, 6.7205) |
| Luminance | 0.2255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.85
Baby Poop
#937C00
ΔE00 5.12
Diarrhea
#9F8303
ΔE00 5.42
Puke Brown
#947706
ΔE00 5.47
Yellowish Brown
#9B7A01
ΔE00 5.64
Dark Khaki
#9B8F55
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978136 #364C97
analogous
#975136 #978136 #7C9736
triadic
#978136 #369781 #813697
tetradic
#978136 #369751 #364C97 #97367C
square
#978136 #369751 #364C97 #97367C
split-complementary
#978136 #367C97 #513697
monochromatic
#3D3416 #6A5A26 #978136 #BFA54B #CFBB78
Accessibility & contrast
On white
3.81
#978136 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#978136 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978136
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978136 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978136 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7F2E
Deuteranopia (green-blind)
#948539
Tritanopia (blue-blind)
#A37771
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #978136; /* rgb */ color: rgb(151, 129, 54); /* oklch */ color: oklch(60.8% 0.098 92.9);
Tailwind
colors: {
custom: {
50: '#b8a570',
500: '#978136',
950: '#000000',
},
}SCSS
$custom: #978136; $custom-light: #b8a570; $custom-dark: #000000;
JSON
{
"hex": "#978136",
"rgb": {
"r": 151,
"g": 129,
"b": 54
},
"hsl": {
"h": 46.392,
"s": 47.317,
"l": 40.196
},
"oklch": {
"l": 0.60846,
"c": 0.0979,
"h": 92.9
},
"luminance": 0.22546
}Semantic roles & 50–950 ramp
primary
#978136
secondary
#7181B8
accent
#6FD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B