#9F9B22#9F9B22

#9F9B22 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.134 H 107.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F9B22
RGBrgb(159, 155, 34)
HSLhsl(58, 65%, 38%)
HSVhsv(58, 79%, 62%)
CMYKcmyk(0%, 2.5%, 78.6%, 37.6%)
CIE-LABlab(62.45, -12.28, 58.74)
CIE-LCHlch(62.45, 60.01, 101.81°)
OKLaboklab(67.21% -0.0404 0.1279)
OKLCHoklch(67.21% 0.134 107.5)
XYZxyz(26.3092, 30.9300, 6.0973)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9B22 #22269F
analogous
#9F5C22 #9F9B22 #649F22
triadic
#9F9B22 #229F9B #9B229F
tetradic
#9F9B22 #229F5C #22269F #9F2264
square
#9F9B22 #229F5C #22269F #9F2264
split-complementary
#9F9B22 #22649F #5C229F
monochromatic
#3A390C #6D6A17 #9F9B22 #D1CC2D #DDD95F

Accessibility & contrast

On white

2.92
#9F9B22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#9F9B22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9B22
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9B22#FFFFFF#000000##000000
##9F9B221.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#AB9085
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f9b22;
/* rgb */ color: rgb(159, 155, 34);
/* oklch */ color: oklch(67.2% 0.134 107.5);
Tailwind
colors: {
  custom: {
    50: '#bfb868',
    500: '#9f9b22',
    950: '#000000',
  },
}
SCSS
$custom: #9f9b22;
$custom-light: #bfb868;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9b22",
  "rgb": {
    "r": 159,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 58.08,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67207,
    "c": 0.13414,
    "h": 107.5
  },
  "luminance": 0.30929
}

Semantic roles & 50–950 ramp

primary
#9F9B22
secondary
#5B5FC1
accent
#45E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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