#9F8323#9F8323

#9F8323 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.114 H 91.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9F8323
RGBrgb(159, 131, 35)
HSLhsl(46, 64%, 38%)
HSVhsv(46, 78%, 62%)
CMYKcmyk(0%, 17.6%, 78%, 37.6%)
CIE-LABlab(55.81, 0.77, 52.33)
CIE-LCHlch(55.81, 52.33, 89.16°)
OKLaboklab(61.94% -0.0035 0.1144)
OKLCHoklch(61.94% 0.114 91.7)
XYZxyz(22.7191, 23.7263, 4.9728)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8323 #233F9F
analogous
#9F4523 #9F8323 #7D9F23
triadic
#9F8323 #239F83 #83239F
tetradic
#9F8323 #239F45 #233F9F #9F237D
square
#9F8323 #239F45 #233F9F #9F237D
split-complementary
#9F8323 #237D9F #45239F
monochromatic
#3B300D #6D5A18 #9F8323 #D1AC2E #DCC060

Accessibility & contrast

On white

3.66
#9F8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9F8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8323
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8323#FFFFFF#000000##000000
##9F83231.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f8323;
/* rgb */ color: rgb(159, 131, 35);
/* oklch */ color: oklch(61.9% 0.114 91.7);
Tailwind
colors: {
  custom: {
    50: '#bfa666',
    500: '#9f8323',
    950: '#000000',
  },
}
SCSS
$custom: #9f8323;
$custom-light: #bfa666;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8323",
  "rgb": {
    "r": 159,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 46.452,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.11445,
    "h": 91.7
  },
  "luminance": 0.23725
}

Semantic roles & 50–950 ramp

primary
#9F8323
secondary
#5D73C1
accent
#66E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8323

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

Preview Lab → · Contrast checker → · Palette generator →

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