#9F9E22#9F9E22

#9F9E22 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.9% C 0.137 H 109.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9F9E22
RGBrgb(159, 158, 34)
HSLhsl(60, 65%, 38%)
HSVhsv(60, 79%, 62%)
CMYKcmyk(0%, 0.6%, 78.6%, 37.6%)
CIE-LABlab(63.29, -13.85, 59.50)
CIE-LCHlch(63.29, 61.09, 103.11°)
OKLaboklab(67.88% -0.0448 0.1295)
OKLCHoklch(67.88% 0.137 109.1)
XYZxyz(26.8147, 31.9410, 6.2658)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E22 #22239F
analogous
#9F5F22 #9F9E22 #619F22
triadic
#9F9E22 #229F9E #9E229F
tetradic
#9F9E22 #229F5F #22239F #9F2261
square
#9F9E22 #229F5F #22239F #9F2261
split-complementary
#9F9E22 #22619F #5F229F
monochromatic
#3A3A0C #6D6C17 #9F9E22 #D1D02D #DDDC5F

Accessibility & contrast

On white

2.84
#9F9E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#9F9E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9E22
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9E22#FFFFFF#000000##000000
##9F9E221.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f9e22;
/* rgb */ color: rgb(159, 158, 34);
/* oklch */ color: oklch(67.9% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#bfba69',
    500: '#9f9e22',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e22;
$custom-light: #bfba69;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e22",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 59.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.13706,
    "h": 109.1
  },
  "luminance": 0.3194
}

Semantic roles & 50–950 ramp

primary
#9F9E22
secondary
#5B5CC1
accent
#41E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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