#9FAA2C#9FAA2C

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

Color values

HEX#9FAA2C
RGBrgb(159, 170, 44)
HSLhsl(65, 59%, 42%)
HSVhsv(65, 74%, 67%)
CMYKcmyk(6.5%, 0%, 74.1%, 33.3%)
CIE-LABlab(66.75, -19.58, 59.42)
CIE-LCHlch(66.75, 62.56, 108.24°)
OKLaboklab(70.67% -0.0598 0.1312)
OKLCHoklch(70.67% 0.144 114.5)
XYZxyz(29.1283, 36.3028, 7.8551)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA2C #372CAA
analogous
#AA762C #9FAA2C #60AA2C
triadic
#9FAA2C #2C9FAA #AA2C9F
tetradic
#9FAA2C #2CAA76 #372CAA #AA2C60
square
#9FAA2C #2CAA76 #372CAA #AA2C60
split-complementary
#9FAA2C #2C60AA #762CAA
monochromatic
#444913 #72791F #9FAA2C #C3CF44 #D2DB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAA2C#FFFFFF#000000##000000
##9FAA2C1.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)
#B7A111
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#AAA092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa2c;
/* rgb */ color: rgb(159, 170, 44);
/* oklch */ color: oklch(70.7% 0.144 114.5);
Tailwind
colors: {
  custom: {
    50: '#bfc36f',
    500: '#9faa2c',
    950: '#000000',
  },
}
SCSS
$custom: #9faa2c;
$custom-light: #bfc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa2c",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 65.238,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70666,
    "c": 0.14419,
    "h": 114.5
  },
  "luminance": 0.36302
}

Semantic roles & 50–950 ramp

primary
#9FAA2C
secondary
#766FC3
accent
#46E253
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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