#9E8323#9E8323

#9E8323 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.114 H 92.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9E8323
RGBrgb(158, 131, 35)
HSLhsl(47, 64%, 38%)
HSVhsv(47, 78%, 62%)
CMYKcmyk(0%, 17.1%, 77.8%, 38%)
CIE-LABlab(55.71, 0.31, 52.19)
CIE-LCHlch(55.71, 52.19, 89.66°)
OKLaboklab(61.84% -0.0047 0.1142)
OKLCHoklch(61.84% 0.114 92.4)
XYZxyz(22.5215, 23.6244, 4.9635)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8323 #233E9E
analogous
#9E4523 #9E8323 #7C9E23
triadic
#9E8323 #239E83 #83239E
tetradic
#9E8323 #239E45 #233E9E #9E237C
square
#9E8323 #239E45 #233E9E #9E237C
split-complementary
#9E8323 #237C9E #45239E
monochromatic
#3A300D #6C5918 #9E8323 #D0AD2E #DCC060

Accessibility & contrast

On white

3.67
#9E8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9E8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8323
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8323#FFFFFF#000000##000000
##9E83231.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8323;
/* rgb */ color: rgb(158, 131, 35);
/* oklch */ color: oklch(61.8% 0.114 92.4);
Tailwind
colors: {
  custom: {
    50: '#bfa666',
    500: '#9e8323',
    950: '#000000',
  },
}
SCSS
$custom: #9e8323;
$custom-light: #bfa666;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8323",
  "rgb": {
    "r": 158,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 46.829,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.11427,
    "h": 92.4
  },
  "luminance": 0.23623
}

Semantic roles & 50–950 ramp

primary
#9E8323
secondary
#5C72C1
accent
#65E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8323

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

Preview Lab → · Contrast checker → · Palette generator →

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