#918520#918520
#918520 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.117 H 102.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #918520 |
|---|---|
| RGB | rgb(145, 133, 32) |
| HSL | hsl(54, 64%, 35%) |
| HSV | hsv(54, 78%, 57%) |
| CMYK | cmyk(0%, 8.3%, 77.9%, 43.1%) |
| CIE-LAB | lab(54.97, -6.90, 52.12) |
| CIE-LCH | lch(54.97, 52.58, 97.54°) |
| OKLab | oklab(60.95% -0.0247 0.114) |
| OKLCH | oklch(60.95% 0.117 102.2) |
| XYZ | xyz(20.3262, 22.9000, 4.7157) |
| Luminance | 0.2290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.57
Olive
#808000
ΔE00 4.67
Diarrhea
#9F8303
ΔE00 5.27
Hazel
#8E7618
ΔE00 6.26
Dark Mustard
#A88905
ΔE00 6.69
Puke Brown
#947706
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918520 #202C91
analogous
#914C20 #918520 #659120
triadic
#918520 #209185 #852091
tetradic
#918520 #20914C #202C91 #912065
square
#918520 #20914C #202C91 #912065
split-complementary
#918520 #206591 #4C2091
monochromatic
#2D290A #5F5715 #918520 #C3B32B #D9CB52
Accessibility & contrast
On white
3.76
#918520 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#918520 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918520
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918520 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918520 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#9D7B72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #918520; /* rgb */ color: rgb(145, 133, 32); /* oklch */ color: oklch(60.9% 0.117 102.2);
Tailwind
colors: {
custom: {
50: '#b5a864',
500: '#918520',
950: '#000000',
},
}SCSS
$custom: #918520; $custom-light: #b5a864; $custom-dark: #000000;
JSON
{
"hex": "#918520",
"rgb": {
"r": 145,
"g": 133,
"b": 32
},
"hsl": {
"h": 53.628,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.60945,
"c": 0.11665,
"h": 102.2
},
"luminance": 0.22899
}Semantic roles & 50–950 ramp
primary
#918520
secondary
#515CBC
accent
#53E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A