#9F9522#9F9522

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

Color values

HEX#9F9522
RGBrgb(159, 149, 34)
HSLhsl(55, 65%, 38%)
HSVhsv(55, 79%, 62%)
CMYKcmyk(0%, 6.3%, 78.6%, 37.6%)
CIE-LABlab(60.77, -9.10, 57.22)
CIE-LCHlch(60.77, 57.94, 99.04°)
OKLaboklab(65.87% -0.0315 0.1247)
OKLCHoklch(65.87% 0.129 104.2)
XYZxyz(25.3354, 28.9824, 5.7727)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9522 #222C9F
analogous
#9F5622 #9F9522 #6A9F22
triadic
#9F9522 #229F95 #95229F
tetradic
#9F9522 #229F56 #222C9F #9F226A
square
#9F9522 #229F56 #222C9F #9F226A
split-complementary
#9F9522 #226A9F #56229F
monochromatic
#3A370C #6D6617 #9F9522 #D1C42D #DDD35F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9522#FFFFFF#000000##000000
##9F95221.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)
#A39003
Deuteranopia (green-blind)
#A6952B
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9522;
/* rgb */ color: rgb(159, 149, 34);
/* oklch */ color: oklch(65.9% 0.129 104.2);
Tailwind
colors: {
  custom: {
    50: '#bfb368',
    500: '#9f9522',
    950: '#000000',
  },
}
SCSS
$custom: #9f9522;
$custom-light: #bfb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9522",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 55.2,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.12859,
    "h": 104.2
  },
  "luminance": 0.28981
}

Semantic roles & 50–950 ramp

primary
#9F9522
secondary
#5B64C1
accent
#4DE840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9522

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

Preview Lab → · Contrast checker → · Palette generator →

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