#9E8523#9E8523

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

Color values

HEX#9E8523
RGBrgb(158, 133, 35)
HSLhsl(48, 64%, 38%)
HSVhsv(48, 78%, 62%)
CMYKcmyk(0%, 15.8%, 77.8%, 38%)
CIE-LABlab(56.25, -0.80, 52.70)
CIE-LCHlch(56.25, 52.71, 90.87°)
OKLaboklab(62.27% -0.0079 0.1153)
OKLCHoklch(62.27% 0.116 93.9)
XYZxyz(22.7927, 24.1668, 5.0539)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8523 #233C9E
analogous
#9E4723 #9E8523 #799E23
triadic
#9E8523 #239E85 #85239E
tetradic
#9E8523 #239E47 #233C9E #9E2379
square
#9E8523 #239E47 #233C9E #9E2379
split-complementary
#9E8523 #23799E #47239E
monochromatic
#3A310D #6C5B18 #9E8523 #D0AF2E #DCC360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8523#FFFFFF#000000##000000
##9E85231.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)
#948310
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8523;
/* rgb */ color: rgb(158, 133, 35);
/* oklch */ color: oklch(62.3% 0.116 93.9);
Tailwind
colors: {
  custom: {
    50: '#bfa866',
    500: '#9e8523',
    950: '#000000',
  },
}
SCSS
$custom: #9e8523;
$custom-light: #bfa866;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8523",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 47.805,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62268,
    "c": 0.11552,
    "h": 93.9
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#9E8523
secondary
#5C71C1
accent
#63E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8523

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

Preview Lab → · Contrast checker → · Palette generator →

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