#928A1F#928A1F
#928A1F is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.122 H 104.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #928A1F |
|---|---|
| RGB | rgb(146, 138, 31) |
| HSL | hsl(56, 65%, 35%) |
| HSV | hsv(56, 79%, 57%) |
| CMYK | cmyk(0%, 5.5%, 78.8%, 42.7%) |
| CIE-LAB | lab(56.47, -9.20, 53.88) |
| CIE-LCH | lch(56.47, 54.66, 99.69°) |
| OKLab | oklab(62.16% -0.0314 0.1175) |
| OKLCH | oklch(62.16% 0.122 104.9) |
| XYZ | xyz(21.1908, 24.3877, 4.8871) |
| Luminance | 0.2439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.91
Baby Poop Green
#8F9805
ΔE00 6.11
Pea Soup
#929901
ΔE00 6.13
Baby Poop
#937C00
ΔE00 6.31
Diarrhea
#9F8303
ΔE00 6.40
Baby Shit Green
#889717
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#928A1F #1F2792
analogous
#92511F #928A1F #61921F
triadic
#928A1F #1F928A #8A1F92
tetradic
#928A1F #1F9251 #1F2792 #921F61
square
#928A1F #1F9251 #1F2792 #921F61
split-complementary
#928A1F #1F6192 #511F92
monochromatic
#2D2B0A #605A14 #928A1F #C4BA2A #DAD151
Accessibility & contrast
On white
3.57
#928A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#928A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #928A1F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##928A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##928A1F | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9A8928
Tritanopia (blue-blind)
#9D8076
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #928a1f; /* rgb */ color: rgb(146, 138, 31); /* oklch */ color: oklch(62.2% 0.122 104.9);
Tailwind
colors: {
custom: {
50: '#b6ab64',
500: '#928a1f',
950: '#000000',
},
}SCSS
$custom: #928a1f; $custom-light: #b6ab64; $custom-dark: #000000;
JSON
{
"hex": "#928a1f",
"rgb": {
"r": 146,
"g": 138,
"b": 31
},
"hsl": {
"h": 55.826,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.62163,
"c": 0.12162,
"h": 104.9
},
"luminance": 0.24387
}Semantic roles & 50–950 ramp
primary
#928A1F
secondary
#5057BD
accent
#4CE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A