#918D2C#918D2C
#918D2C is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.116 H 107.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #918D2C |
|---|---|
| RGB | rgb(145, 141, 44) |
| HSL | hsl(58, 53%, 37%) |
| HSV | hsv(58, 70%, 57%) |
| CMYK | cmyk(0%, 2.8%, 69.7%, 43.1%) |
| CIE-LAB | lab(57.32, -10.64, 49.82) |
| CIE-LCH | lch(57.32, 50.94, 102.06°) |
| OKLab | oklab(62.84% -0.034 0.1114) |
| OKLCH | oklch(62.84% 0.116 107) |
| XYZ | xyz(21.6574, 25.2521, 6.1157) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.43
Pea Soup
#929901
ΔE00 5.59
Olive
#808000
ΔE00 5.62
Baby Shit Green
#889717
ΔE00 5.70
Drab
#828344
ΔE00 6.89
Dark Khaki
#9B8F55
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918D2C #2C3091
analogous
#915B2C #918D2C #63912C
triadic
#918D2C #2C918D #8D2C91
tetradic
#918D2C #2C915B #2C3091 #912C63
square
#918D2C #2C915B #2C3091 #912C63
split-complementary
#918D2C #2C6391 #5B2C91
monochromatic
#333210 #625F1E #918D2C #C0BB3A #D1CD67
Accessibility & contrast
On white
3.47
#918D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#918D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918D2C
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918D2C | 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)
#99881D
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#9C847A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #918d2c; /* rgb */ color: rgb(145, 141, 44); /* oklch */ color: oklch(62.8% 0.116 107.0);
Tailwind
colors: {
custom: {
50: '#b4ae6b',
500: '#918d2c',
950: '#000000',
},
}SCSS
$custom: #918d2c; $custom-light: #b4ae6b; $custom-dark: #000000;
JSON
{
"hex": "#918d2c",
"rgb": {
"r": 145,
"g": 141,
"b": 44
},
"hsl": {
"h": 57.624,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.62841,
"c": 0.11649,
"h": 107
},
"luminance": 0.25251
}Semantic roles & 50–950 ramp
primary
#918D2C
secondary
#6265B7
accent
#51DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A