#948831#948831
#948831 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.108 H 101.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #948831 |
|---|---|
| RGB | rgb(148, 136, 49) |
| HSL | hsl(53, 50%, 39%) |
| HSV | hsv(53, 67%, 58%) |
| CMYK | cmyk(0%, 8.1%, 66.9%, 42%) |
| CIE-LAB | lab(56.21, -6.28, 46.64) |
| CIE-LCH | lch(56.21, 47.06, 97.67°) |
| OKLab | oklab(62.04% -0.0213 0.1055) |
| OKLCH | oklch(62.04% 0.108 101.4) |
| XYZ | xyz(21.5722, 24.1269, 6.4258) |
| Luminance | 0.2413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.86
Baby Poop
#937C00
ΔE00 5.96
Diarrhea
#9F8303
ΔE00 6.07
Olive
#808000
ΔE00 6.11
Drab
#828344
ΔE00 6.58
Dark Mustard
#A88905
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948831 #313D94
analogous
#945631 #948831 #6E9431
triadic
#948831 #319488 #883194
tetradic
#948831 #319456 #313D94 #94316E
square
#948831 #319456 #313D94 #94316E
split-complementary
#948831 #316E94 #563194
monochromatic
#383313 #665E22 #948831 #C0B142 #D0C470
Accessibility & contrast
On white
3.61
#948831 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#948831 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948831
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948831 | 1.00 | 3.61 | 5.83 | 5.83 |
| #FFFFFF | 3.61 | 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)
#948426
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#9F7F76
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #948831; /* rgb */ color: rgb(148, 136, 49); /* oklch */ color: oklch(62.0% 0.108 101.4);
Tailwind
colors: {
custom: {
50: '#b6aa6e',
500: '#948831',
950: '#000000',
},
}SCSS
$custom: #948831; $custom-light: #b6aa6e; $custom-dark: #000000;
JSON
{
"hex": "#948831",
"rgb": {
"r": 148,
"g": 136,
"b": 49
},
"hsl": {
"h": 52.727,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.62039,
"c": 0.10759,
"h": 101.4
},
"luminance": 0.24126
}Semantic roles & 50–950 ramp
primary
#948831
secondary
#6973B7
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A