#9FAA20#9FAA20

#9FAA20 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.150 H 114.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9FAA20
RGBrgb(159, 170, 32)
HSLhsl(65, 68%, 40%)
HSVhsv(65, 81%, 67%)
CMYKcmyk(6.5%, 0%, 81.2%, 33.3%)
CIE-LABlab(66.69, -20.08, 63.09)
CIE-LCHlch(66.69, 66.21, 107.65°)
OKLaboklab(70.6% -0.0622 0.1369)
OKLCHoklch(70.6% 0.15 114.4)
XYZxyz(28.9344, 36.2252, 6.8342)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA20 #2B20AA
analogous
#AA7020 #9FAA20 #5AAA20
triadic
#9FAA20 #209FAA #AA209F
tetradic
#9FAA20 #20AA70 #2B20AA #AA205A
square
#9FAA20 #20AA70 #2B20AA #AA205A
split-complementary
#9FAA20 #205AAA #7020AA
monochromatic
#3F430D #6F7616 #9FAA20 #CAD82F #D7E263

Accessibility & contrast

On white

2.55
#9FAA20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9FAA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA20
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA20#FFFFFF#000000##000000
##9FAA201.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa20;
/* rgb */ color: rgb(159, 170, 32);
/* oklch */ color: oklch(70.6% 0.150 114.4);
Tailwind
colors: {
  custom: {
    50: '#bfc369',
    500: '#9faa20',
    950: '#000000',
  },
}
SCSS
$custom: #9faa20;
$custom-light: #bfc369;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa20",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 64.783,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.706,
    "c": 0.15032,
    "h": 114.4
  },
  "luminance": 0.36225
}

Semantic roles & 50–950 ramp

primary
#9FAA20
secondary
#675FC7
accent
#3DEB4B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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