#948320#948320
#948320 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.115 H 99.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #948320 |
|---|---|
| RGB | rgb(148, 131, 32) |
| HSL | hsl(51, 64%, 35%) |
| HSV | hsv(51, 78%, 58%) |
| CMYK | cmyk(0%, 11.5%, 78.4%, 42%) |
| CIE-LAB | lab(54.69, -4.42, 51.97) |
| CIE-LCH | lch(54.69, 52.16, 94.86°) |
| OKLab | oklab(60.79% -0.0179 0.1136) |
| OKLCH | oklch(60.79% 0.115 99) |
| XYZ | xyz(20.5908, 22.6338, 4.6504) |
| Luminance | 0.2263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.30
Diarrhea
#9F8303
ΔE00 3.95
Hazel
#8E7618
ΔE00 5.04
Puke Brown
#947706
ΔE00 5.36
Yellowish Brown
#9B7A01
ΔE00 5.62
Dark Mustard
#A88905
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948320 #203194
analogous
#944920 #948320 #6B9420
triadic
#948320 #209483 #832094
tetradic
#948320 #209449 #203194 #94206B
square
#948320 #209449 #203194 #94206B
split-complementary
#948320 #206B94 #492094
monochromatic
#2F2A0A #625615 #948320 #C6B02B #DAC654
Accessibility & contrast
On white
3.80
#948320 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#948320 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948320
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948320 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948320 | 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)
#917F0A
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #948320; /* rgb */ color: rgb(148, 131, 32); /* oklch */ color: oklch(60.8% 0.115 99.0);
Tailwind
colors: {
custom: {
50: '#b7a664',
500: '#948320',
950: '#000000',
},
}SCSS
$custom: #948320; $custom-light: #b7a664; $custom-dark: #000000;
JSON
{
"hex": "#948320",
"rgb": {
"r": 148,
"g": 131,
"b": 32
},
"hsl": {
"h": 51.207,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.60794,
"c": 0.11495,
"h": 99
},
"luminance": 0.22633
}Semantic roles & 50–950 ramp
primary
#948320
secondary
#5262BE
accent
#59E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A