#9F9322#9F9322

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

Color values

HEX#9F9322
RGBrgb(159, 147, 34)
HSLhsl(54, 65%, 38%)
HSVhsv(54, 79%, 62%)
CMYKcmyk(0%, 7.5%, 78.6%, 37.6%)
CIE-LABlab(60.21, -8.03, 56.72)
CIE-LCHlch(60.21, 57.28, 98.06°)
OKLaboklab(65.42% -0.0285 0.1236)
OKLCHoklch(65.42% 0.127 103)
XYZxyz(25.0217, 28.3550, 5.6681)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9322 #222E9F
analogous
#9F5422 #9F9322 #6C9F22
triadic
#9F9322 #229F93 #93229F
tetradic
#9F9322 #229F54 #222E9F #9F226C
square
#9F9322 #229F54 #222E9F #9F226C
split-complementary
#9F9322 #226C9F #54229F
monochromatic
#3A360C #6D6417 #9F9322 #D1C22D #DDD15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9322#FFFFFF#000000##000000
##9F93221.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)
#A18E05
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#AC887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f9322;
/* rgb */ color: rgb(159, 147, 34);
/* oklch */ color: oklch(65.4% 0.127 103.0);
Tailwind
colors: {
  custom: {
    50: '#bfb267',
    500: '#9f9322',
    950: '#000000',
  },
}
SCSS
$custom: #9f9322;
$custom-light: #bfb267;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9322",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 54.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65423,
    "c": 0.12682,
    "h": 103
  },
  "luminance": 0.28354
}

Semantic roles & 50–950 ramp

primary
#9F9322
secondary
#5B65C1
accent
#50E840
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F9322

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

Preview Lab → · Contrast checker → · Palette generator →

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