#918F2B#918F2B
#918F2B is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.119 H 108.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #918F2B |
|---|---|
| RGB | rgb(145, 143, 43) |
| HSL | hsl(59, 54%, 37%) |
| HSV | hsv(59, 70%, 57%) |
| CMYK | cmyk(0%, 1.4%, 70.3%, 43.1%) |
| CIE-LAB | lab(57.88, -11.77, 50.79) |
| CIE-LCH | lch(57.88, 52.13, 103.05°) |
| OKLab | oklab(63.29% -0.0373 0.1133) |
| OKLCH | oklch(63.29% 0.119 108.2) |
| XYZ | xyz(21.9363, 25.8398, 6.1171) |
| Luminance | 0.2584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.65
Pea Soup
#929901
ΔE00 4.83
Baby Shit Green
#889717
ΔE00 4.91
Olive
#808000
ΔE00 5.96
Swamp Green
#748500
ΔE00 7.11
Drab
#828344
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918F2B #2B2D91
analogous
#915C2B #918F2B #60912B
triadic
#918F2B #2B918F #8F2B91
tetradic
#918F2B #2B915C #2B2D91 #912B60
square
#918F2B #2B915C #2B2D91 #912B60
split-complementary
#918F2B #2B6091 #5C2B91
monochromatic
#33320F #62601D #918F2B #C0BE39 #D1CF65
Accessibility & contrast
On white
3.40
#918F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#918F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918F2B
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918F2B | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891B
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#9B867B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #918f2b; /* rgb */ color: rgb(145, 143, 43); /* oklch */ color: oklch(63.3% 0.119 108.2);
Tailwind
colors: {
custom: {
50: '#b4af6b',
500: '#918f2b',
950: '#000000',
},
}SCSS
$custom: #918f2b; $custom-light: #b4af6b; $custom-dark: #000000;
JSON
{
"hex": "#918f2b",
"rgb": {
"r": 145,
"g": 143,
"b": 43
},
"hsl": {
"h": 58.824,
"s": 54.255,
"l": 36.863
},
"oklch": {
"l": 0.63289,
"c": 0.11927,
"h": 108.2
},
"luminance": 0.25839
}Semantic roles & 50–950 ramp
primary
#918F2B
secondary
#6062B8
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A