#9FAE2A#9FAE2A

#9FAE2A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.6% C 0.150 H 116.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#9FAE2A
RGBrgb(159, 174, 42)
HSLhsl(67, 61%, 42%)
HSVhsv(67, 76%, 68%)
CMYKcmyk(8.6%, 0%, 75.9%, 31.8%)
CIE-LABlab(67.88, -21.68, 61.15)
CIE-LCHlch(67.88, 64.88, 109.52°)
OKLaboklab(71.57% -0.0658 0.1345)
OKLCHoklch(71.57% 0.15 116.1)
XYZxyz(29.8528, 37.8106, 7.9156)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE2A #392AAE
analogous
#AE7B2A #9FAE2A #5DAE2A
triadic
#9FAE2A #2A9FAE #AE2A9F
tetradic
#9FAE2A #2AAE7B #392AAE #AE2A5D
square
#9FAE2A #2AAE7B #392AAE #AE2A5D
split-complementary
#9FAE2A #2A5DAE #7B2AAE
monochromatic
#454B12 #727D1E #9FAE2A #C2D243 #D2DE75

Accessibility & contrast

On white

2.45
#9FAE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#9FAE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE2A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE2A#FFFFFF#000000##000000
##9FAE2A1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA509
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#A9A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fae2a;
/* rgb */ color: rgb(159, 174, 42);
/* oklch */ color: oklch(71.6% 0.150 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc66e',
    500: '#9fae2a',
    950: '#000000',
  },
}
SCSS
$custom: #9fae2a;
$custom-light: #bfc66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae2a",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 66.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71569,
    "c": 0.14975,
    "h": 116.1
  },
  "luminance": 0.3781
}

Semantic roles & 50–950 ramp

primary
#9FAE2A
secondary
#786FC5
accent
#44E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FAE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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