#918E2A#918E2A
#918E2A is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.119 H 107.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #918E2A |
|---|---|
| RGB | rgb(145, 142, 42) |
| HSL | hsl(58, 55%, 37%) |
| HSV | hsv(58, 71%, 57%) |
| CMYK | cmyk(0%, 2.1%, 71%, 43.1%) |
| CIE-LAB | lab(57.59, -11.29, 50.89) |
| CIE-LCH | lch(57.59, 52.13, 102.51°) |
| OKLab | oklab(63.05% -0.0361 0.1133) |
| OKLCH | oklch(63.05% 0.119 107.7) |
| XYZ | xyz(21.7688, 25.5336, 5.9718) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.93
Pea Soup
#929901
ΔE00 5.09
Baby Shit Green
#889717
ΔE00 5.24
Olive
#808000
ΔE00 5.71
Swamp Green
#748500
ΔE00 7.12
Drab
#828344
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918E2A #2A2D91
analogous
#915B2A #918E2A #61912A
triadic
#918E2A #2A918E #8E2A91
tetradic
#918E2A #2A915B #2A2D91 #912A61
square
#918E2A #2A915B #2A2D91 #912A61
split-complementary
#918E2A #2A6191 #5B2A91
monochromatic
#32310F #62601C #918E2A #C0BC38 #D2CF63
Accessibility & contrast
On white
3.44
#918E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#918E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918E2A
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918E2A | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #918e2a; /* rgb */ color: rgb(145, 142, 42); /* oklch */ color: oklch(63.1% 0.119 107.7);
Tailwind
colors: {
custom: {
50: '#b4ae6a',
500: '#918e2a',
950: '#000000',
},
}SCSS
$custom: #918e2a; $custom-light: #b4ae6a; $custom-dark: #000000;
JSON
{
"hex": "#918e2a",
"rgb": {
"r": 145,
"g": 142,
"b": 42
},
"hsl": {
"h": 58.252,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.63053,
"c": 0.11893,
"h": 107.7
},
"luminance": 0.25533
}Semantic roles & 50–950 ramp
primary
#918E2A
secondary
#5F61B8
accent
#4EDE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A