#9FAC20#9FAC20

#9FAC20 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#9FAC20
RGBrgb(159, 172, 32)
HSLhsl(66, 69%, 40%)
HSVhsv(66, 81%, 67%)
CMYKcmyk(7.6%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.26, -21.08, 63.59)
CIE-LCHlch(67.26, 66.99, 108.34°)
OKLaboklab(71.06% -0.0649 0.1379)
OKLCHoklch(71.06% 0.152 115.2)
XYZxyz(29.3122, 36.9808, 6.9601)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC20 #2D20AC
analogous
#AC7320 #9FAC20 #59AC20
triadic
#9FAC20 #209FAC #AC209F
tetradic
#9FAC20 #20AC73 #2D20AC #AC2059
square
#9FAC20 #20AC73 #2D20AC #AC2059
split-complementary
#9FAC20 #2059AC #7320AC
monochromatic
#40450D #6F7816 #9FAC20 #C9D931 #D7E264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC20#FFFFFF#000000##000000
##9FAC201.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)
#B8A52E
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac20;
/* rgb */ color: rgb(159, 172, 32);
/* oklch */ color: oklch(71.1% 0.152 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc46a',
    500: '#9fac20',
    950: '#000000',
  },
}
SCSS
$custom: #9fac20;
$custom-light: #bfc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac20",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 65.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.71058,
    "c": 0.15246,
    "h": 115.2
  },
  "luminance": 0.3698
}

Semantic roles & 50–950 ramp

primary
#9FAC20
secondary
#6A60C7
accent
#3CEB4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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