#918D1C#918D1C
#918D1C is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.126 H 107.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #918D1C |
|---|---|
| RGB | rgb(145, 141, 28) |
| HSL | hsl(58, 68%, 34%) |
| HSV | hsv(58, 81%, 57%) |
| CMYK | cmyk(0%, 2.8%, 80.7%, 43.1%) |
| CIE-LAB | lab(57.23, -11.39, 55.47) |
| CIE-LCH | lch(57.23, 56.63, 101.60°) |
| OKLab | oklab(62.74% -0.0377 0.1204) |
| OKLCH | oklch(62.74% 0.126 107.4) |
| XYZ | xyz(21.4124, 25.1541, 4.8257) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.66
Pea Soup
#929901
ΔE00 4.73
Olive
#808000
ΔE00 5.18
Baby Shit Green
#889717
ΔE00 5.39
Swamp Green
#748500
ΔE00 7.05
Shit Green
#758000
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918D1C #1C2091
analogous
#91531C #918D1C #5B911C
triadic
#918D1C #1C918D #8D1C91
tetradic
#918D1C #1C9153 #1C2091 #911C5B
square
#918D1C #1C9153 #1C2091 #911C5B
split-complementary
#918D1C #1C5B91 #531C91
monochromatic
#2A2908 #5E5B12 #918D1C #C4BF26 #DCD74B
Accessibility & contrast
On white
3.48
#918D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#918D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918D1C
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918D1C | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#9C8378
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #918d1c; /* rgb */ color: rgb(145, 141, 28); /* oklch */ color: oklch(62.7% 0.126 107.4);
Tailwind
colors: {
custom: {
50: '#b5ae63',
500: '#918d1c',
950: '#000000',
},
}SCSS
$custom: #918d1c; $custom-light: #b5ae63; $custom-dark: #000000;
JSON
{
"hex": "#918d1c",
"rgb": {
"r": 145,
"g": 141,
"b": 28
},
"hsl": {
"h": 57.949,
"s": 67.63,
"l": 33.922
},
"oklch": {
"l": 0.62735,
"c": 0.12613,
"h": 107.4
},
"luminance": 0.25153
}Semantic roles & 50–950 ramp
primary
#918D1C
secondary
#4A4EBE
accent
#43EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A