#918F2D#918F2D
#918F2D is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.3% C 0.118 H 108.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #918F2D |
|---|---|
| RGB | rgb(145, 143, 45) |
| HSL | hsl(59, 53%, 37%) |
| HSV | hsv(59, 69%, 57%) |
| CMYK | cmyk(0%, 1.4%, 69%, 43.1%) |
| CIE-LAB | lab(57.90, -11.66, 49.99) |
| CIE-LCH | lch(57.90, 51.34, 103.12°) |
| OKLab | oklab(63.31% -0.0368 0.112) |
| OKLCH | oklch(63.31% 0.118 108.2) |
| XYZ | xyz(21.9739, 25.8548, 6.3151) |
| Luminance | 0.2585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.81
Baby Shit Green
#889717
ΔE00 4.99
Pea Soup
#929901
ΔE00 5.00
Olive
#808000
ΔE00 6.05
Drab
#828344
ΔE00 7.13
Swamp Green
#748500
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918F2D #2D2F91
analogous
#915D2D #918F2D #61912D
triadic
#918F2D #2D918F #8F2D91
tetradic
#918F2D #2D915D #2D2F91 #912D61
square
#918F2D #2D915D #2D2F91 #912D61
split-complementary
#918F2D #2D6191 #5D2D91
monochromatic
#343310 #62611F #918F2D #C0BD3B #D0CE68
Accessibility & contrast
On white
3.40
#918F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#918F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918F2D
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918F2D | 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)
#9B891E
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#9B867B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #918f2d; /* rgb */ color: rgb(145, 143, 45); /* oklch */ color: oklch(63.3% 0.118 108.2);
Tailwind
colors: {
custom: {
50: '#b4af6c',
500: '#918f2d',
950: '#000000',
},
}SCSS
$custom: #918f2d; $custom-light: #b4af6c; $custom-dark: #000000;
JSON
{
"hex": "#918f2d",
"rgb": {
"r": 145,
"g": 143,
"b": 45
},
"hsl": {
"h": 58.8,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.63305,
"c": 0.11785,
"h": 108.2
},
"luminance": 0.25854
}Semantic roles & 50–950 ramp
primary
#918F2D
secondary
#6365B7
accent
#4FDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A