#9F9622#9F9622

#9F9622 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.129 H 104.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F9622
RGBrgb(159, 150, 34)
HSLhsl(56, 65%, 38%)
HSVhsv(56, 79%, 62%)
CMYKcmyk(0%, 5.7%, 78.6%, 37.6%)
CIE-LABlab(61.05, -9.64, 57.47)
CIE-LCHlch(61.05, 58.28, 99.52°)
OKLaboklab(66.09% -0.033 0.1252)
OKLCHoklch(66.09% 0.129 104.8)
XYZxyz(25.4943, 29.3001, 5.8257)
Luminance0.2930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9622 #222B9F
analogous
#9F5722 #9F9622 #699F22
triadic
#9F9622 #229F96 #96229F
tetradic
#9F9622 #229F57 #222B9F #9F2269
square
#9F9622 #229F57 #222B9F #9F2269
split-complementary
#9F9622 #22699F #57229F
monochromatic
#3A370C #6D6617 #9F9622 #D1C62D #DDD45F

Accessibility & contrast

On white

3.06
#9F9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9F9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9622
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9622#FFFFFF#000000##000000
##9F96221.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49103
Deuteranopia (green-blind)
#A7962B
Tritanopia (blue-blind)
#AB8B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9622;
/* rgb */ color: rgb(159, 150, 34);
/* oklch */ color: oklch(66.1% 0.129 104.8);
Tailwind
colors: {
  custom: {
    50: '#bfb468',
    500: '#9f9622',
    950: '#000000',
  },
}
SCSS
$custom: #9f9622;
$custom-light: #bfb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9622",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 55.68,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66089,
    "c": 0.12949,
    "h": 104.8
  },
  "luminance": 0.29299
}

Semantic roles & 50–950 ramp

primary
#9F9622
secondary
#5B63C1
accent
#4CE840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9622

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

Preview Lab → · Contrast checker → · Palette generator →

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