#9FA22C#9FA22C

#9FA22C is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.136 H 110.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9FA22C
RGBrgb(159, 162, 44)
HSLhsl(62, 57%, 40%)
HSVhsv(62, 73%, 64%)
CMYKcmyk(1.9%, 0%, 72.8%, 36.5%)
CIE-LABlab(64.48, -15.50, 57.25)
CIE-LCHlch(64.48, 59.31, 105.15°)
OKLaboklab(68.85% -0.0485 0.1266)
OKLCHoklch(68.85% 0.136 110.9)
XYZxyz(27.6740, 33.3942, 7.3703)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA22C #2F2CA2
analogous
#A26A2C #9FA22C #64A22C
triadic
#9FA22C #2C9FA2 #A22C9F
tetradic
#9FA22C #2CA26A #2F2CA2 #A22C64
square
#9FA22C #2CA26A #2F2CA2 #A22C64
split-complementary
#9FA22C #2C64A2 #6A2CA2
monochromatic
#414212 #70721F #9FA22C #C8CB40 #D6D870

Accessibility & contrast

On white

2.73
#9FA22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9FA22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA22C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA22C#FFFFFF#000000##000000
##9FA22C1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B16
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#AA988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa22c;
/* rgb */ color: rgb(159, 162, 44);
/* oklch */ color: oklch(68.8% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#bfbd6e',
    500: '#9fa22c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa22c;
$custom-light: #bfbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa22c",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 61.525,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68846,
    "c": 0.13558,
    "h": 110.9
  },
  "luminance": 0.33393
}

Semantic roles & 50–950 ramp

primary
#9FA22C
secondary
#6D6ABF
accent
#47E14B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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