#9F9922#9F9922

#9F9922 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.132 H 106.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9F9922
RGBrgb(159, 153, 34)
HSLhsl(57, 65%, 38%)
HSVhsv(57, 79%, 62%)
CMYKcmyk(0%, 3.8%, 78.6%, 37.6%)
CIE-LABlab(61.89, -11.23, 58.23)
CIE-LCHlch(61.89, 59.31, 100.91°)
OKLaboklab(66.76% -0.0375 0.1268)
OKLCHoklch(66.76% 0.132 106.5)
XYZxyz(25.9791, 30.2699, 5.9873)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9922 #22289F
analogous
#9F5A22 #9F9922 #669F22
triadic
#9F9922 #229F99 #99229F
tetradic
#9F9922 #229F5A #22289F #9F2266
square
#9F9922 #229F5A #22289F #9F2266
split-complementary
#9F9922 #22669F #5A229F
monochromatic
#3A380C #6D6817 #9F9922 #D1CA2D #DDD75F

Accessibility & contrast

On white

2.98
#9F9922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#9F9922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9922
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9922#FFFFFF#000000##000000
##9F99221.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79301
Deuteranopia (green-blind)
#A9982C
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9f9922;
/* rgb */ color: rgb(159, 153, 34);
/* oklch */ color: oklch(66.8% 0.132 106.5);
Tailwind
colors: {
  custom: {
    50: '#bfb668',
    500: '#9f9922',
    950: '#000000',
  },
}
SCSS
$custom: #9f9922;
$custom-light: #bfb668;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9922",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 57.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66759,
    "c": 0.13225,
    "h": 106.5
  },
  "luminance": 0.30269
}

Semantic roles & 50–950 ramp

primary
#9F9922
secondary
#5B60C1
accent
#48E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9922

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

Preview Lab → · Contrast checker → · Palette generator →

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