#928128#928128
#928128 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.108 H 98.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #928128 |
|---|---|
| RGB | rgb(146, 129, 40) |
| HSL | hsl(50, 57%, 36%) |
| HSV | hsv(50, 73%, 57%) |
| CMYK | cmyk(0%, 11.6%, 72.6%, 42.7%) |
| CIE-LAB | lab(53.99, -3.85, 48.16) |
| CIE-LCH | lch(53.99, 48.32, 94.57°) |
| OKLab | oklab(60.21% -0.0153 0.1071) |
| OKLCH | oklch(60.21% 0.108 98.1) |
| XYZ | xyz(20.0883, 21.9657, 5.1888) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.62
Hazel
#8E7618
ΔE00 4.39
Diarrhea
#9F8303
ΔE00 4.75
Puke Brown
#947706
ΔE00 5.16
Yellowish Brown
#9B7A01
ΔE00 5.69
Poo
#8F7303
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#928128 #283992
analogous
#924C28 #928128 #6E9228
triadic
#928128 #289281 #812892
tetradic
#928128 #28924C #283992 #92286E
square
#928128 #28924C #283992 #92286E
split-complementary
#928128 #286E92 #4C2892
monochromatic
#322C0E #62571B #928128 #C2AB35 #D4C161
Accessibility & contrast
On white
3.89
#928128 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#928128 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #928128
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##928128 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##928128 | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#9E776F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #928128; /* rgb */ color: rgb(146, 129, 40); /* oklch */ color: oklch(60.2% 0.108 98.1);
Tailwind
colors: {
custom: {
50: '#b5a568',
500: '#928128',
950: '#000000',
},
}SCSS
$custom: #928128; $custom-light: #b5a568; $custom-dark: #000000;
JSON
{
"hex": "#928128",
"rgb": {
"r": 146,
"g": 129,
"b": 40
},
"hsl": {
"h": 50.377,
"s": 56.989,
"l": 36.471
},
"oklch": {
"l": 0.60208,
"c": 0.10823,
"h": 98.1
},
"luminance": 0.21965
}Semantic roles & 50–950 ramp
primary
#928128
secondary
#5D6BB9
accent
#60E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A