#918328#918328
#918328 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.110 H 100.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #918328 |
|---|---|
| RGB | rgb(145, 131, 40) |
| HSL | hsl(52, 57%, 36%) |
| HSV | hsv(52, 72%, 57%) |
| CMYK | cmyk(0%, 9.7%, 72.4%, 43.1%) |
| CIE-LAB | lab(54.46, -5.42, 48.59) |
| CIE-LCH | lch(54.46, 48.89, 96.36°) |
| OKLab | oklab(60.55% -0.0197 0.1081) |
| OKLCH | oklch(60.55% 0.11 100.3) |
| XYZ | xyz(20.1773, 22.4065, 5.2691) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.30
Diarrhea
#9F8303
ΔE00 5.25
Olive
#808000
ΔE00 5.33
Hazel
#8E7618
ΔE00 5.36
Puke Brown
#947706
ΔE00 6.15
Yellowish Brown
#9B7A01
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918328 #283691
analogous
#914F28 #918328 #6B9128
triadic
#918328 #289183 #832891
tetradic
#918328 #28914F #283691 #91286B
square
#918328 #28914F #283691 #91286B
split-complementary
#918328 #286B91 #4F2891
monochromatic
#312C0E #61581B #918328 #C1AE35 #D3C460
Accessibility & contrast
On white
3.83
#918328 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#918328 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918328
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918328 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F1A
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#9C7971
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #918328; /* rgb */ color: rgb(145, 131, 40); /* oklch */ color: oklch(60.6% 0.110 100.3);
Tailwind
colors: {
custom: {
50: '#b4a668',
500: '#918328',
950: '#000000',
},
}SCSS
$custom: #918328; $custom-light: #b4a668; $custom-dark: #000000;
JSON
{
"hex": "#918328",
"rgb": {
"r": 145,
"g": 131,
"b": 40
},
"hsl": {
"h": 52,
"s": 56.757,
"l": 36.275
},
"oklch": {
"l": 0.60554,
"c": 0.10987,
"h": 100.3
},
"luminance": 0.22406
}Semantic roles & 50–950 ramp
primary
#918328
secondary
#5C68B9
accent
#5CE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A