#9E8524#9E8524

#9E8524 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.115 H 93.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E8524
RGBrgb(158, 133, 36)
HSLhsl(48, 63%, 38%)
HSVhsv(48, 77%, 62%)
CMYKcmyk(0%, 15.8%, 77.2%, 38%)
CIE-LABlab(56.26, -0.76, 52.34)
CIE-LCHlch(56.26, 52.34, 90.83°)
OKLaboklab(62.27% -0.0077 0.1147)
OKLCHoklch(62.27% 0.115 93.8)
XYZxyz(22.8078, 24.1729, 5.1332)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8524 #243D9E
analogous
#9E4824 #9E8524 #7A9E24
triadic
#9E8524 #249E85 #85249E
tetradic
#9E8524 #249E48 #243D9E #9E247A
square
#9E8524 #249E48 #243D9E #9E247A
split-complementary
#9E8524 #247A9E #48249E
monochromatic
#3A310D #6C5B19 #9E8524 #D0AF2F #DBC261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8524#FFFFFF#000000##000000
##9E85241.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)
#948312
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8524;
/* rgb */ color: rgb(158, 133, 36);
/* oklch */ color: oklch(62.3% 0.115 93.8);
Tailwind
colors: {
  custom: {
    50: '#bfa866',
    500: '#9e8524',
    950: '#000000',
  },
}
SCSS
$custom: #9e8524;
$custom-light: #bfa866;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8524",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 47.705,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.11495,
    "h": 93.8
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#9E8524
secondary
#5E72C0
accent
#63E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8524

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

Preview Lab → · Contrast checker → · Palette generator →

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