#928828#928828
#928828 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.114 H 103.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #928828 |
|---|---|
| RGB | rgb(146, 136, 40) |
| HSL | hsl(54, 57%, 36%) |
| HSV | hsv(54, 73%, 57%) |
| CMYK | cmyk(0%, 6.8%, 72.6%, 42.7%) |
| CIE-LAB | lab(55.96, -7.70, 50.11) |
| CIE-LCH | lch(55.96, 50.70, 98.74°) |
| OKLab | oklab(61.77% -0.0262 0.1113) |
| OKLCH | oklch(61.77% 0.114 103.3) |
| XYZ | xyz(21.0421, 23.8734, 5.5067) |
| Luminance | 0.2387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.11
Baby Poop
#937C00
ΔE00 5.79
Diarrhea
#9F8303
ΔE00 6.09
Drab
#828344
ΔE00 7.00
Dark Khaki
#9B8F55
ΔE00 7.01
Dark Mustard
#A88905
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#928828 #283292
analogous
#925328 #928828 #679228
triadic
#928828 #289288 #882892
tetradic
#928828 #289253 #283292 #922867
square
#928828 #289253 #283292 #922867
split-complementary
#928828 #286792 #532892
monochromatic
#322F0E #625B1B #928828 #C2B535 #D4C961
Accessibility & contrast
On white
3.64
#928828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#928828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #928828
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##928828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##928828 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958318
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#9D7E75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #928828; /* rgb */ color: rgb(146, 136, 40); /* oklch */ color: oklch(61.8% 0.114 103.3);
Tailwind
colors: {
custom: {
50: '#b5aa69',
500: '#928828',
950: '#000000',
},
}SCSS
$custom: #928828; $custom-light: #b5aa69; $custom-dark: #000000;
JSON
{
"hex": "#928828",
"rgb": {
"r": 146,
"g": 136,
"b": 40
},
"hsl": {
"h": 54.34,
"s": 56.989,
"l": 36.471
},
"oklch": {
"l": 0.61772,
"c": 0.11431,
"h": 103.3
},
"luminance": 0.23873
}Semantic roles & 50–950 ramp
primary
#928828
secondary
#5D65B9
accent
#56E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A