#9F9D22#9F9D22

#9F9D22 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.7% C 0.136 H 108.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F9D22
RGBrgb(159, 157, 34)
HSLhsl(59, 65%, 38%)
HSVhsv(59, 79%, 62%)
CMYKcmyk(0%, 1.3%, 78.6%, 37.6%)
CIE-LABlab(63.01, -13.33, 59.25)
CIE-LCHlch(63.01, 60.73, 102.68°)
OKLaboklab(67.66% -0.0433 0.129)
OKLCHoklch(67.66% 0.136 108.6)
XYZxyz(26.6448, 31.6012, 6.2092)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9D22 #22249F
analogous
#9F5E22 #9F9D22 #629F22
triadic
#9F9D22 #229F9D #9D229F
tetradic
#9F9D22 #229F5E #22249F #9F2262
square
#9F9D22 #229F5E #22249F #9F2262
split-complementary
#9F9D22 #22629F #5E229F
monochromatic
#3A390C #6D6B17 #9F9D22 #D1CF2D #DDDB5F

Accessibility & contrast

On white

2.87
#9F9D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9F9D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9D22
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9D22#FFFFFF#000000##000000
##9F9D221.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#AB9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9d22;
/* rgb */ color: rgb(159, 157, 34);
/* oklch */ color: oklch(67.7% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#bfb969',
    500: '#9f9d22',
    950: '#000000',
  },
}
SCSS
$custom: #9f9d22;
$custom-light: #bfb969;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9d22",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 59.04,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67657,
    "c": 0.13608,
    "h": 108.6
  },
  "luminance": 0.316
}

Semantic roles & 50–950 ramp

primary
#9F9D22
secondary
#5B5DC1
accent
#43E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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