#9FAA28#9FAA28

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

Color values

HEX#9FAA28
RGBrgb(159, 170, 40)
HSLhsl(65, 62%, 41%)
HSVhsv(65, 76%, 67%)
CMYKcmyk(6.5%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.73, -19.76, 60.73)
CIE-LCHlch(66.73, 63.87, 108.03°)
OKLaboklab(70.64% -0.0607 0.1333)
OKLCHoklch(70.64% 0.146 114.5)
XYZxyz(29.0567, 36.2741, 7.4780)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA28 #3328AA
analogous
#AA7428 #9FAA28 #5EAA28
triadic
#9FAA28 #289FAA #AA289F
tetradic
#9FAA28 #28AA74 #3328AA #AA285E
square
#9FAA28 #28AA74 #3328AA #AA285E
split-complementary
#9FAA28 #285EAA #7428AA
monochromatic
#424711 #71781C #9FAA28 #C5D23E #D4DD6F

Accessibility & contrast

On white

2.54
#9FAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAA28#FFFFFF#000000##000000
##9FAA281.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A105
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#AAA092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa28;
/* rgb */ color: rgb(159, 170, 40);
/* oklch */ color: oklch(70.6% 0.146 114.5);
Tailwind
colors: {
  custom: {
    50: '#bfc36d',
    500: '#9faa28',
    950: '#000000',
  },
}
SCSS
$custom: #9faa28;
$custom-light: #bfc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa28",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 65.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70641,
    "c": 0.14644,
    "h": 114.5
  },
  "luminance": 0.36274
}

Semantic roles & 50–950 ramp

primary
#9FAA28
secondary
#716AC4
accent
#43E551
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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