#948631#948631
#948631 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.106 H 99.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #948631 |
|---|---|
| RGB | rgb(148, 134, 49) |
| HSL | hsl(52, 50%, 39%) |
| HSV | hsv(52, 67%, 58%) |
| CMYK | cmyk(0%, 9.5%, 66.9%, 42%) |
| CIE-LAB | lab(55.65, -5.18, 46.05) |
| CIE-LCH | lch(55.65, 46.34, 96.42°) |
| OKLab | oklab(61.59% -0.0182 0.1042) |
| OKLCH | oklch(61.59% 0.106 99.9) |
| XYZ | xyz(21.2931, 23.5688, 6.3328) |
| Luminance | 0.2357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.37
Diarrhea
#9F8303
ΔE00 5.64
Dark Khaki
#9B8F55
ΔE00 5.92
Olive
#808000
ΔE00 6.30
Hazel
#8E7618
ΔE00 6.36
Drab
#828344
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948631 #313F94
analogous
#945431 #948631 #709431
triadic
#948631 #319486 #863194
tetradic
#948631 #319454 #313F94 #943170
square
#948631 #319454 #313F94 #943170
split-complementary
#948631 #317094 #543194
monochromatic
#383313 #665C22 #948631 #C0AE42 #D0C270
Accessibility & contrast
On white
3.68
#948631 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#948631 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948631
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948631 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948631 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938226
Deuteranopia (green-blind)
#968836
Tritanopia (blue-blind)
#9F7C74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #948631; /* rgb */ color: rgb(148, 134, 49); /* oklch */ color: oklch(61.6% 0.106 99.9);
Tailwind
colors: {
custom: {
50: '#b6a86e',
500: '#948631',
950: '#000000',
},
}SCSS
$custom: #948631; $custom-light: #b6a86e; $custom-dark: #000000;
JSON
{
"hex": "#948631",
"rgb": {
"r": 148,
"g": 134,
"b": 49
},
"hsl": {
"h": 51.515,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.61594,
"c": 0.10579,
"h": 99.9
},
"luminance": 0.23568
}Semantic roles & 50–950 ramp
primary
#948631
secondary
#6974B7
accent
#62DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A