#9E8520#9E8520

#9E8520 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.117 H 94.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E8520
RGBrgb(158, 133, 32)
HSLhsl(48, 66%, 37%)
HSVhsv(48, 80%, 62%)
CMYKcmyk(0%, 15.8%, 79.7%, 38%)
CIE-LABlab(56.24, -0.92, 53.75)
CIE-LCHlch(56.24, 53.76, 90.98°)
OKLaboklab(62.25% -0.0085 0.1169)
OKLCHoklch(62.25% 0.117 94.2)
XYZxyz(22.7501, 24.1498, 4.8293)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8520 #20399E
analogous
#9E4620 #9E8520 #789E20
triadic
#9E8520 #209E85 #85209E
tetradic
#9E8520 #209E46 #20399E #9E2078
square
#9E8520 #209E46 #20399E #9E2078
split-complementary
#9E8520 #20789E #46209E
monochromatic
#382F0B #6B5A16 #9E8520 #D1B02A #DEC45B

Accessibility & contrast

On white

3.60
#9E8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9E8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8520
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8520#FFFFFF#000000##000000
##9E85201.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948209
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8520;
/* rgb */ color: rgb(158, 133, 32);
/* oklch */ color: oklch(62.2% 0.117 94.2);
Tailwind
colors: {
  custom: {
    50: '#bfa865',
    500: '#9e8520',
    950: '#000000',
  },
}
SCSS
$custom: #9e8520;
$custom-light: #bfa865;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8520",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 48.095,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62249,
    "c": 0.11718,
    "h": 94.2
  },
  "luminance": 0.24148
}

Semantic roles & 50–950 ramp

primary
#9E8520
secondary
#586DC2
accent
#60E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8520

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E8520 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva