#9F9523#9F9523

#9F9523 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.128 H 104.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F9523
RGBrgb(159, 149, 35)
HSLhsl(55, 64%, 38%)
HSVhsv(55, 78%, 62%)
CMYKcmyk(0%, 6.3%, 78%, 37.6%)
CIE-LABlab(60.77, -9.06, 56.90)
CIE-LCHlch(60.77, 57.61, 99.05°)
OKLaboklab(65.87% -0.0313 0.1242)
OKLCHoklch(65.87% 0.128 104.1)
XYZxyz(25.3500, 28.9882, 5.8498)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9523 #232D9F
analogous
#9F5723 #9F9523 #6B9F23
triadic
#9F9523 #239F95 #95239F
tetradic
#9F9523 #239F57 #232D9F #9F236B
square
#9F9523 #239F57 #232D9F #9F236B
split-complementary
#9F9523 #236B9F #57239F
monochromatic
#3B370D #6D6618 #9F9523 #D1C42E #DCD260

Accessibility & contrast

On white

3.09
#9F9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9F9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9523
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9523#FFFFFF#000000##000000
##9F95231.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39006
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9523;
/* rgb */ color: rgb(159, 149, 35);
/* oklch */ color: oklch(65.9% 0.128 104.1);
Tailwind
colors: {
  custom: {
    50: '#bfb368',
    500: '#9f9523',
    950: '#000000',
  },
}
SCSS
$custom: #9f9523;
$custom-light: #bfb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9523",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 55.161,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65872,
    "c": 0.12805,
    "h": 104.1
  },
  "luminance": 0.28987
}

Semantic roles & 50–950 ramp

primary
#9F9523
secondary
#5D65C1
accent
#4EE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9523

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

Preview Lab → · Contrast checker → · Palette generator →

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