#9FAC22#9FAC22

#9FAC22 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.152 H 115.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9FAC22
RGBrgb(159, 172, 34)
HSLhsl(66, 67%, 40%)
HSVhsv(66, 80%, 67%)
CMYKcmyk(7.6%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.27, -21.01, 63.04)
CIE-LCHlch(67.27, 66.45, 108.43°)
OKLaboklab(71.07% -0.0646 0.1371)
OKLCHoklch(71.07% 0.152 115.2)
XYZxyz(29.3402, 36.9920, 7.1076)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC22 #2F22AC
analogous
#AC7422 #9FAC22 #5AAC22
triadic
#9FAC22 #229FAC #AC229F
tetradic
#9FAC22 #22AC74 #2F22AC #AC225A
square
#9FAC22 #22AC74 #2F22AC #AC225A
split-complementary
#9FAC22 #225AAC #7422AC
monochromatic
#41460E #707918 #9FAC22 #C8D734 #D6E167

Accessibility & contrast

On white

2.50
#9FAC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9FAC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC22
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC22#FFFFFF#000000##000000
##9FAC221.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac22;
/* rgb */ color: rgb(159, 172, 34);
/* oklch */ color: oklch(71.1% 0.152 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc46b',
    500: '#9fac22',
    950: '#000000',
  },
}
SCSS
$custom: #9fac22;
$custom-light: #bfc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac22",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 65.652,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71067,
    "c": 0.15158,
    "h": 115.2
  },
  "luminance": 0.36991
}

Semantic roles & 50–950 ramp

primary
#9FAC22
secondary
#6D63C7
accent
#3EEA4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAC22

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

Preview Lab → · Contrast checker → · Palette generator →

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