#9F8523#9F8523

#9F8523 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.116 H 93.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9F8523
RGBrgb(159, 133, 35)
HSLhsl(47, 64%, 38%)
HSVhsv(47, 78%, 62%)
CMYKcmyk(0%, 16.4%, 78%, 37.6%)
CIE-LABlab(56.36, -0.34, 52.83)
CIE-LCHlch(56.36, 52.83, 90.37°)
OKLaboklab(62.37% -0.0067 0.1155)
OKLCHoklch(62.37% 0.116 93.3)
XYZxyz(22.9903, 24.2687, 5.0632)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8523 #233D9F
analogous
#9F4723 #9F8523 #7B9F23
triadic
#9F8523 #239F85 #85239F
tetradic
#9F8523 #239F47 #233D9F #9F237B
square
#9F8523 #239F47 #233D9F #9F237B
split-complementary
#9F8523 #237B9F #47239F
monochromatic
#3B310D #6D5B18 #9F8523 #D1AF2E #DCC260

Accessibility & contrast

On white

3.59
#9F8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9F8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8523
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8523#FFFFFF#000000##000000
##9F85231.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f8523;
/* rgb */ color: rgb(159, 133, 35);
/* oklch */ color: oklch(62.4% 0.116 93.3);
Tailwind
colors: {
  custom: {
    50: '#bfa866',
    500: '#9f8523',
    950: '#000000',
  },
}
SCSS
$custom: #9f8523;
$custom-light: #bfa866;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8523",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 47.419,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.11568,
    "h": 93.3
  },
  "luminance": 0.24267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F8523

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

Preview Lab → · Contrast checker → · Palette generator →

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