#948321#948321
#948321 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.114 H 98.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #948321 |
|---|---|
| RGB | rgb(148, 131, 33) |
| HSL | hsl(51, 64%, 35%) |
| HSV | hsv(51, 78%, 58%) |
| CMYK | cmyk(0%, 11.5%, 77.7%, 42%) |
| CIE-LAB | lab(54.70, -4.37, 51.62) |
| CIE-LCH | lch(54.70, 51.81, 94.84°) |
| OKLab | oklab(60.8% -0.0177 0.113) |
| OKLCH | oklch(60.8% 0.114 98.9) |
| XYZ | xyz(20.6046, 22.6393, 4.7231) |
| Luminance | 0.2264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.35
Diarrhea
#9F8303
ΔE00 3.99
Hazel
#8E7618
ΔE00 5.03
Puke Brown
#947706
ΔE00 5.38
Yellowish Brown
#9B7A01
ΔE00 5.64
Dark Mustard
#A88905
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948321 #213294
analogous
#944921 #948321 #6C9421
triadic
#948321 #219483 #832194
tetradic
#948321 #219449 #213294 #94216C
square
#948321 #219449 #213294 #94216C
split-complementary
#948321 #216C94 #492194
monochromatic
#302A0B #625716 #948321 #C6AF2C #D9C656
Accessibility & contrast
On white
3.80
#948321 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#948321 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948321
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948321 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #948321; /* rgb */ color: rgb(148, 131, 33); /* oklch */ color: oklch(60.8% 0.114 98.9);
Tailwind
colors: {
custom: {
50: '#b7a665',
500: '#948321',
950: '#000000',
},
}SCSS
$custom: #948321; $custom-light: #b7a665; $custom-dark: #000000;
JSON
{
"hex": "#948321",
"rgb": {
"r": 148,
"g": 131,
"b": 33
},
"hsl": {
"h": 51.13,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.608,
"c": 0.11438,
"h": 98.9
},
"luminance": 0.22638
}Semantic roles & 50–950 ramp
primary
#948321
secondary
#5463BD
accent
#5AE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A