#9F9C22#9F9C22

#9F9C22 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.4% C 0.135 H 108.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9F9C22
RGBrgb(159, 156, 34)
HSLhsl(59, 65%, 38%)
HSVhsv(59, 79%, 62%)
CMYKcmyk(0%, 1.9%, 78.6%, 37.6%)
CIE-LABlab(62.73, -12.81, 58.99)
CIE-LCHlch(62.73, 60.37, 102.25°)
OKLaboklab(67.43% -0.0419 0.1285)
OKLCHoklch(67.43% 0.135 108.1)
XYZxyz(26.4763, 31.2643, 6.1530)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9C22 #22259F
analogous
#9F5D22 #9F9C22 #639F22
triadic
#9F9C22 #229F9C #9C229F
tetradic
#9F9C22 #229F5D #22259F #9F2263
square
#9F9C22 #229F5D #22259F #9F2263
split-complementary
#9F9C22 #22639F #5D229F
monochromatic
#3A390C #6D6B17 #9F9C22 #D1CD2D #DDDA5F

Accessibility & contrast

On white

2.90
#9F9C22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#9F9C22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9C22
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9C22#FFFFFF#000000##000000
##9F9C221.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AB9A2C
Tritanopia (blue-blind)
#AB9185
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9c22;
/* rgb */ color: rgb(159, 156, 34);
/* oklch */ color: oklch(67.4% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#bfb868',
    500: '#9f9c22',
    950: '#000000',
  },
}
SCSS
$custom: #9f9c22;
$custom-light: #bfb868;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9c22",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 58.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67432,
    "c": 0.1351,
    "h": 108.1
  },
  "luminance": 0.31263
}

Semantic roles & 50–950 ramp

primary
#9F9C22
secondary
#5B5EC1
accent
#44E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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