#948828#948828
#948828 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.114 H 102.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #948828 |
|---|---|
| RGB | rgb(148, 136, 40) |
| HSL | hsl(53, 57%, 37%) |
| HSV | hsv(53, 73%, 58%) |
| CMYK | cmyk(0%, 8.1%, 73%, 42%) |
| CIE-LAB | lab(56.15, -6.79, 50.35) |
| CIE-LCH | lch(56.15, 50.81, 97.68°) |
| OKLab | oklab(61.96% -0.0238 0.1117) |
| OKLCH | oklch(61.96% 0.114 102) |
| XYZ | xyz(21.4009, 24.0583, 5.5235) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.44
Diarrhea
#9F8303
ΔE00 5.51
Olive
#808000
ΔE00 5.56
Dark Mustard
#A88905
ΔE00 6.54
Baby Poo
#AB9004
ΔE00 6.66
Dark Khaki
#9B8F55
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948828 #283494
analogous
#945228 #948828 #6A9428
triadic
#948828 #289488 #882894
tetradic
#948828 #289452 #283494 #94286A
square
#948828 #289452 #283494 #94286A
split-complementary
#948828 #286A94 #522894
monochromatic
#342F0E #645C1B #948828 #C4B435 #D5C862
Accessibility & contrast
On white
3.61
#948828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#948828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948828
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948828 | 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)
#958418
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#A07E75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #948828; /* rgb */ color: rgb(148, 136, 40); /* oklch */ color: oklch(62.0% 0.114 102.0);
Tailwind
colors: {
custom: {
50: '#b7aa69',
500: '#948828',
950: '#000000',
},
}SCSS
$custom: #948828; $custom-light: #b7aa69; $custom-dark: #000000;
JSON
{
"hex": "#948828",
"rgb": {
"r": 148,
"g": 136,
"b": 40
},
"hsl": {
"h": 53.333,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.61963,
"c": 0.11421,
"h": 102
},
"luminance": 0.24057
}Semantic roles & 50–950 ramp
primary
#948828
secondary
#5E68BA
accent
#58E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A