#9D8323#9D8323

#9D8323 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.7% C 0.114 H 93.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9D8323
RGBrgb(157, 131, 35)
HSLhsl(47, 64%, 38%)
HSVhsv(47, 78%, 62%)
CMYKcmyk(0%, 16.6%, 77.7%, 38.4%)
CIE-LABlab(55.61, -0.15, 52.06)
CIE-LCHlch(55.61, 52.06, 90.17°)
OKLaboklab(61.73% -0.006 0.1139)
OKLCHoklch(61.73% 0.114 93)
XYZxyz(22.3256, 23.5234, 4.9543)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8323 #233D9D
analogous
#9D4623 #9D8323 #7A9D23
triadic
#9D8323 #239D83 #83239D
tetradic
#9D8323 #239D46 #233D9D #9D237A
square
#9D8323 #239D46 #233D9D #9D237A
split-complementary
#9D8323 #237A9D #46239D
monochromatic
#392F0D #6B5918 #9D8323 #CFAD2E #DBC15F

Accessibility & contrast

On white

3.68
#9D8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#9D8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8323
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8323#FFFFFF#000000##000000
##9D83231.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#AA7871
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d8323;
/* rgb */ color: rgb(157, 131, 35);
/* oklch */ color: oklch(61.7% 0.114 93.0);
Tailwind
colors: {
  custom: {
    50: '#bea666',
    500: '#9d8323',
    950: '#000000',
  },
}
SCSS
$custom: #9d8323;
$custom-light: #bea666;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8323",
  "rgb": {
    "r": 157,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 47.213,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.11409,
    "h": 93
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#9D8323
secondary
#5C71C0
accent
#64E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8323

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

Preview Lab → · Contrast checker → · Palette generator →

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