#9FAA2A#9FAA2A

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

Color values

HEX#9FAA2A
RGBrgb(159, 170, 42)
HSLhsl(65, 60%, 42%)
HSVhsv(65, 75%, 67%)
CMYKcmyk(6.5%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.74, -19.67, 60.08)
CIE-LCHlch(66.74, 63.22, 108.13°)
OKLaboklab(70.65% -0.0603 0.1323)
OKLCHoklch(70.65% 0.145 114.5)
XYZxyz(29.0916, 36.2881, 7.6618)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA2A #352AAA
analogous
#AA752A #9FAA2A #5FAA2A
triadic
#9FAA2A #2A9FAA #AA2A9F
tetradic
#9FAA2A #2AAA75 #352AAA #AA2A5F
square
#9FAA2A #2AAA75 #352AAA #AA2A5F
split-complementary
#9FAA2A #2A5FAA #752AAA
monochromatic
#434812 #71791E #9FAA2A #C4D041 #D3DC72

Accessibility & contrast

On white

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

On black

8.26
#9FAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA2A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA2A#FFFFFF#000000##000000
##9FAA2A1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9faa2a;
/* rgb */ color: rgb(159, 170, 42);
/* oklch */ color: oklch(70.7% 0.145 114.5);
Tailwind
colors: {
  custom: {
    50: '#bfc36e',
    500: '#9faa2a',
    950: '#000000',
  },
}
SCSS
$custom: #9faa2a;
$custom-light: #bfc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa2a",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 65.156,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70653,
    "c": 0.14534,
    "h": 114.5
  },
  "luminance": 0.36288
}

Semantic roles & 50–950 ramp

primary
#9FAA2A
secondary
#746CC3
accent
#44E452
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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