#978126#978126
#978126 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.110 H 95.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #978126 |
|---|---|
| RGB | rgb(151, 129, 38) |
| HSL | hsl(48, 60%, 37%) |
| HSV | hsv(48, 75%, 59%) |
| CMYK | cmyk(0%, 14.6%, 74.8%, 40.8%) |
| CIE-LAB | lab(54.47, -1.66, 49.61) |
| CIE-LCH | lch(54.47, 49.64, 91.91°) |
| OKLab | oklab(60.7% -0.0096 0.1096) |
| OKLCH | oklch(60.7% 0.11 95) |
| XYZ | xyz(20.9637, 22.4209, 5.0568) |
| Luminance | 0.2242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.08
Diarrhea
#9F8303
ΔE00 3.48
Hazel
#8E7618
ΔE00 4.11
Puke Brown
#947706
ΔE00 4.25
Yellowish Brown
#9B7A01
ΔE00 4.33
Dark Mustard
#A88905
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978126 #263C97
analogous
#974926 #978126 #749726
triadic
#978126 #269781 #812697
tetradic
#978126 #269749 #263C97 #972674
square
#978126 #269749 #263C97 #972674
split-complementary
#978126 #267497 #492697
monochromatic
#352D0D #66571A #978126 #C8AB32 #D7C060
Accessibility & contrast
On white
3.83
#978126 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#978126 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978126
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978126 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#A3776F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #978126; /* rgb */ color: rgb(151, 129, 38); /* oklch */ color: oklch(60.7% 0.110 95.0);
Tailwind
colors: {
custom: {
50: '#b9a567',
500: '#978126',
950: '#000000',
},
}SCSS
$custom: #978126; $custom-light: #b9a567; $custom-dark: #000000;
JSON
{
"hex": "#978126",
"rgb": {
"r": 151,
"g": 129,
"b": 38
},
"hsl": {
"h": 48.319,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.60699,
"c": 0.11003,
"h": 95
},
"luminance": 0.2242
}Semantic roles & 50–950 ramp
primary
#978126
secondary
#5C6FBC
accent
#64E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A