#9D8523#9D8523

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

Color values

HEX#9D8523
RGBrgb(157, 133, 35)
HSLhsl(48, 64%, 38%)
HSVhsv(48, 78%, 62%)
CMYKcmyk(0%, 15.3%, 77.7%, 38.4%)
CIE-LABlab(56.15, -1.26, 52.57)
CIE-LCHlch(56.15, 52.59, 91.37°)
OKLaboklab(62.16% -0.0091 0.115)
OKLCHoklch(62.16% 0.115 94.5)
XYZxyz(22.5968, 24.0658, 5.0447)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8523 #233B9D
analogous
#9D4823 #9D8523 #789D23
triadic
#9D8523 #239D85 #85239D
tetradic
#9D8523 #239D48 #233B9D #9D2378
square
#9D8523 #239D48 #233B9D #9D2378
split-complementary
#9D8523 #23789D #48239D
monochromatic
#39300D #6B5B18 #9D8523 #CFAF2E #DBC35F

Accessibility & contrast

On white

3.61
#9D8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9D8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8523
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8523#FFFFFF#000000##000000
##9D85231.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948210
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#AA7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8523;
/* rgb */ color: rgb(157, 133, 35);
/* oklch */ color: oklch(62.2% 0.115 94.5);
Tailwind
colors: {
  custom: {
    50: '#bea866',
    500: '#9d8523',
    950: '#000000',
  },
}
SCSS
$custom: #9d8523;
$custom-light: #bea866;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8523",
  "rgb": {
    "r": 157,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 48.197,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62164,
    "c": 0.11538,
    "h": 94.5
  },
  "luminance": 0.24065
}

Semantic roles & 50–950 ramp

primary
#9D8523
secondary
#5C6FC0
accent
#62E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8523

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

Preview Lab → · Contrast checker → · Palette generator →

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