#9FAA22#9FAA22

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

Color values

HEX#9FAA22
RGBrgb(159, 170, 34)
HSLhsl(65, 67%, 40%)
HSVhsv(65, 80%, 67%)
CMYKcmyk(6.5%, 0%, 80%, 33.3%)
CIE-LABlab(66.70, -20.00, 62.54)
CIE-LCHlch(66.70, 65.66, 107.74°)
OKLaboklab(70.61% -0.0618 0.136)
OKLCHoklch(70.61% 0.149 114.4)
XYZxyz(28.9624, 36.2364, 6.9817)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA22 #2D22AA
analogous
#AA7122 #9FAA22 #5BAA22
triadic
#9FAA22 #229FAA #AA229F
tetradic
#9FAA22 #22AA71 #2D22AA #AA225B
square
#9FAA22 #22AA71 #2D22AA #AA225B
split-complementary
#9FAA22 #225BAA #7122AA
monochromatic
#40440E #6F7718 #9FAA22 #C9D633 #D7E066

Accessibility & contrast

On white

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

On black

8.25
#9FAA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA22
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA22#FFFFFF#000000##000000
##9FAA221.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9faa22;
/* rgb */ color: rgb(159, 170, 34);
/* oklch */ color: oklch(70.6% 0.149 114.4);
Tailwind
colors: {
  custom: {
    50: '#bfc36a',
    500: '#9faa22',
    950: '#000000',
  },
}
SCSS
$custom: #9faa22;
$custom-light: #bfc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa22",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 64.853,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.14942,
    "h": 114.4
  },
  "luminance": 0.36236
}

Semantic roles & 50–950 ramp

primary
#9FAA22
secondary
#6A62C6
accent
#3EEA4C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAA22

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

Preview Lab → · Contrast checker → · Palette generator →

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