#9FAD2A#9FAD2A

#9FAD2A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.3% C 0.149 H 115.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#9FAD2A
RGBrgb(159, 173, 42)
HSLhsl(66, 61%, 42%)
HSVhsv(66, 76%, 68%)
CMYKcmyk(8.1%, 0%, 75.7%, 32.2%)
CIE-LABlab(67.60, -21.18, 60.88)
CIE-LCHlch(67.60, 64.46, 109.18°)
OKLaboklab(71.34% -0.0644 0.134)
OKLCHoklch(71.34% 0.149 115.7)
XYZxyz(29.6604, 37.4257, 7.8514)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAD2A #382AAD
analogous
#AD792A #9FAD2A #5EAD2A
triadic
#9FAD2A #2A9FAD #AD2A9F
tetradic
#9FAD2A #2AAD79 #382AAD #AD2A5E
square
#9FAD2A #2AAD79 #382AAD #AD2A5E
split-complementary
#9FAD2A #2A5EAD #792AAD
monochromatic
#444B12 #727C1E #9FAD2A #C2D143 #D2DD74

Accessibility & contrast

On white

2.47
#9FAD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#9FAD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAD2A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAD2A#FFFFFF#000000##000000
##9FAD2A1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40A
Deuteranopia (green-blind)
#B8A636
Tritanopia (blue-blind)
#A9A394
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fad2a;
/* rgb */ color: rgb(159, 173, 42);
/* oklch */ color: oklch(71.3% 0.149 115.7);
Tailwind
colors: {
  custom: {
    50: '#bfc56e',
    500: '#9fad2a',
    950: '#000000',
  },
}
SCSS
$custom: #9fad2a;
$custom-light: #bfc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fad2a",
  "rgb": {
    "r": 159,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 66.412,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7134,
    "c": 0.14864,
    "h": 115.7
  },
  "luminance": 0.37425
}

Semantic roles & 50–950 ramp

primary
#9FAD2A
secondary
#776EC5
accent
#44E455
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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