#928C1F#928C1F
#928C1F is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.123 H 106.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #928C1F |
|---|---|
| RGB | rgb(146, 140, 31) |
| HSL | hsl(57, 65%, 35%) |
| HSV | hsv(57, 79%, 57%) |
| CMYK | cmyk(0%, 4.1%, 78.8%, 42.7%) |
| CIE-LAB | lab(57.04, -10.28, 54.39) |
| CIE-LCH | lch(57.04, 55.36, 100.70°) |
| OKLab | oklab(62.62% -0.0344 0.1186) |
| OKLCH | oklch(62.62% 0.123 106.2) |
| XYZ | xyz(21.4804, 24.9669, 4.9837) |
| Luminance | 0.2497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.17
Baby Poop Green
#8F9805
ΔE00 5.30
Pea Soup
#929901
ΔE00 5.33
Baby Shit Green
#889717
ΔE00 6.02
Diarrhea
#9F8303
ΔE00 7.06
Baby Poop
#937C00
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#928C1F #1F2592
analogous
#92531F #928C1F #5E921F
triadic
#928C1F #1F928C #8C1F92
tetradic
#928C1F #1F9253 #1F2592 #921F5E
square
#928C1F #1F9253 #1F2592 #921F5E
split-complementary
#928C1F #1F5E92 #531F92
monochromatic
#2D2B0A #605C14 #928C1F #C4BC2A #DAD351
Accessibility & contrast
On white
3.50
#928C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#928C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #928C1F
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##928C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##928C1F | 1.00 | 3.50 | 5.99 | 5.99 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#9D8278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #928c1f; /* rgb */ color: rgb(146, 140, 31); /* oklch */ color: oklch(62.6% 0.123 106.2);
Tailwind
colors: {
custom: {
50: '#b6ad65',
500: '#928c1f',
950: '#000000',
},
}SCSS
$custom: #928c1f; $custom-light: #b6ad65; $custom-dark: #000000;
JSON
{
"hex": "#928c1f",
"rgb": {
"r": 146,
"g": 140,
"b": 31
},
"hsl": {
"h": 56.87,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.62616,
"c": 0.12349,
"h": 106.2
},
"luminance": 0.24966
}Semantic roles & 50–950 ramp
primary
#928C1F
secondary
#5055BD
accent
#49E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A