#918D2B#918D2B
#918D2B is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.117 H 107.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #918D2B |
|---|---|
| RGB | rgb(145, 141, 43) |
| HSL | hsl(58, 54%, 37%) |
| HSV | hsv(58, 70%, 57%) |
| CMYK | cmyk(0%, 2.8%, 70.3%, 43.1%) |
| CIE-LAB | lab(57.31, -10.70, 50.22) |
| CIE-LCH | lch(57.31, 51.35, 102.03°) |
| OKLab | oklab(62.83% -0.0343 0.1121) |
| OKLCH | oklch(62.83% 0.117 107) |
| XYZ | xyz(21.6388, 25.2446, 6.0179) |
| Luminance | 0.2524 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.36
Pea Soup
#929901
ΔE00 5.51
Olive
#808000
ΔE00 5.57
Baby Shit Green
#889717
ΔE00 5.66
Drab
#828344
ΔE00 6.98
Dark Khaki
#9B8F55
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918D2B #2B2F91
analogous
#915A2B #918D2B #62912B
triadic
#918D2B #2B918D #8D2B91
tetradic
#918D2B #2B915A #2B2F91 #912B62
square
#918D2B #2B915A #2B2F91 #912B62
split-complementary
#918D2B #2B6291 #5A2B91
monochromatic
#33310F #625F1D #918D2B #C0BB39 #D1CD65
Accessibility & contrast
On white
3.47
#918D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#918D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918D2B
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918D2B | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99881C
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#9C8479
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #918d2b; /* rgb */ color: rgb(145, 141, 43); /* oklch */ color: oklch(62.8% 0.117 107.0);
Tailwind
colors: {
custom: {
50: '#b4ae6b',
500: '#918d2b',
950: '#000000',
},
}SCSS
$custom: #918d2b; $custom-light: #b4ae6b; $custom-dark: #000000;
JSON
{
"hex": "#918d2b",
"rgb": {
"r": 145,
"g": 141,
"b": 43
},
"hsl": {
"h": 57.647,
"s": 54.255,
"l": 36.863
},
"oklch": {
"l": 0.62833,
"c": 0.1172,
"h": 107
},
"luminance": 0.25244
}Semantic roles & 50–950 ramp
primary
#918D2B
secondary
#6064B8
accent
#50DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A