#9F9323#9F9323

#9F9323 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.126 H 102.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9F9323
RGBrgb(159, 147, 35)
HSLhsl(54, 64%, 38%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 7.5%, 78%, 37.6%)
CIE-LABlab(60.21, -7.99, 56.39)
CIE-LCHlch(60.21, 56.95, 98.07°)
OKLaboklab(65.43% -0.0283 0.1231)
OKLCHoklch(65.43% 0.126 102.9)
XYZxyz(25.0363, 28.3608, 5.7452)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9323 #232F9F
analogous
#9F5523 #9F9323 #6D9F23
triadic
#9F9323 #239F93 #93239F
tetradic
#9F9323 #239F55 #232F9F #9F236D
square
#9F9323 #239F55 #232F9F #9F236D
split-complementary
#9F9323 #236D9F #55239F
monochromatic
#3B360D #6D6518 #9F9323 #D1C12E #DCD060

Accessibility & contrast

On white

3.15
#9F9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9F9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9323
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9323#FFFFFF#000000##000000
##9F93231.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E08
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#AC887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f9323;
/* rgb */ color: rgb(159, 147, 35);
/* oklch */ color: oklch(65.4% 0.126 102.9);
Tailwind
colors: {
  custom: {
    50: '#bfb268',
    500: '#9f9323',
    950: '#000000',
  },
}
SCSS
$custom: #9f9323;
$custom-light: #bfb268;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9323",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 54.194,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65429,
    "c": 0.12629,
    "h": 102.9
  },
  "luminance": 0.2836
}

Semantic roles & 50–950 ramp

primary
#9F9323
secondary
#5D66C1
accent
#51E741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9323

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

Preview Lab → · Contrast checker → · Palette generator →

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