#948827#948827
#948827 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.115 H 102.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #948827 |
|---|---|
| RGB | rgb(148, 136, 39) |
| HSL | hsl(53, 58%, 37%) |
| HSV | hsv(53, 74%, 58%) |
| CMYK | cmyk(0%, 8.1%, 73.6%, 42%) |
| CIE-LAB | lab(56.14, -6.84, 50.74) |
| CIE-LCH | lch(56.14, 51.20, 97.68°) |
| OKLab | oklab(61.96% -0.024 0.1123) |
| OKLCH | oklch(61.96% 0.115 102.1) |
| XYZ | xyz(21.3841, 24.0516, 5.4351) |
| Luminance | 0.2405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.40
Diarrhea
#9F8303
ΔE00 5.47
Olive
#808000
ΔE00 5.52
Dark Mustard
#A88905
ΔE00 6.49
Baby Poo
#AB9004
ΔE00 6.60
Baby Shit Brown
#AD900D
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948827 #273394
analogous
#945127 #948827 #6A9427
triadic
#948827 #279488 #882794
tetradic
#948827 #279451 #273394 #94276A
square
#948827 #279451 #273394 #94276A
split-complementary
#948827 #276A94 #512794
monochromatic
#332F0D #645B1A #948827 #C4B534 #D5C860
Accessibility & contrast
On white
3.61
#948827 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#948827 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948827
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948827 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#A07E75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #948827; /* rgb */ color: rgb(148, 136, 39); /* oklch */ color: oklch(62.0% 0.115 102.1);
Tailwind
colors: {
custom: {
50: '#b7aa68',
500: '#948827',
950: '#000000',
},
}SCSS
$custom: #948827; $custom-light: #b7aa68; $custom-dark: #000000;
JSON
{
"hex": "#948827",
"rgb": {
"r": 148,
"g": 136,
"b": 39
},
"hsl": {
"h": 53.394,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.61956,
"c": 0.11486,
"h": 102.1
},
"luminance": 0.24051
}Semantic roles & 50–950 ramp
primary
#948827
secondary
#5C67BB
accent
#57E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A