#918B21#918B21
#918B21 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.3% C 0.122 H 106.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #918B21 |
|---|---|
| RGB | rgb(145, 139, 33) |
| HSL | hsl(57, 63%, 35%) |
| HSV | hsv(57, 77%, 57%) |
| CMYK | cmyk(0%, 4.1%, 77.2%, 43.1%) |
| CIE-LAB | lab(56.68, -10.12, 53.36) |
| CIE-LCH | lch(56.68, 54.31, 100.74°) |
| OKLab | oklab(62.31% -0.0337 0.1168) |
| OKLCH | oklch(62.31% 0.122 106.1) |
| XYZ | xyz(21.1851, 24.5956, 5.0700) |
| Luminance | 0.2460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 5.61
Pea Soup
#929901
ΔE00 5.69
Baby Shit Green
#889717
ΔE00 6.20
Baby Poop
#937C00
ΔE00 6.93
Diarrhea
#9F8303
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918B21 #212791
analogous
#915321 #918B21 #5F9121
triadic
#918B21 #21918B #8B2191
tetradic
#918B21 #219153 #212791 #91215F
square
#918B21 #219153 #212791 #91215F
split-complementary
#918B21 #215F91 #532191
monochromatic
#2D2B0A #5F5B16 #918B21 #C3BB2C #D8D154
Accessibility & contrast
On white
3.55
#918B21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#918B21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918B21
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918B21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918B21 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988608
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#9C8177
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #918b21; /* rgb */ color: rgb(145, 139, 33); /* oklch */ color: oklch(62.3% 0.122 106.1);
Tailwind
colors: {
custom: {
50: '#b5ac65',
500: '#918b21',
950: '#000000',
},
}SCSS
$custom: #918b21; $custom-light: #b5ac65; $custom-dark: #000000;
JSON
{
"hex": "#918b21",
"rgb": {
"r": 145,
"g": 139,
"b": 33
},
"hsl": {
"h": 56.786,
"s": 62.921,
"l": 34.902
},
"oklch": {
"l": 0.62308,
"c": 0.12158,
"h": 106.1
},
"luminance": 0.24595
}Semantic roles & 50–950 ramp
primary
#918B21
secondary
#5258BC
accent
#4BE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A