#9FAE2C#9FAE2C

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

Color values

HEX#9FAE2C
RGBrgb(159, 174, 44)
HSLhsl(67, 60%, 43%)
HSVhsv(67, 75%, 68%)
CMYKcmyk(8.6%, 0%, 74.7%, 31.8%)
CIE-LABlab(67.89, -21.59, 60.50)
CIE-LCHlch(67.89, 64.23, 109.64°)
OKLaboklab(71.58% -0.0654 0.1335)
OKLCHoklch(71.58% 0.149 116.1)
XYZxyz(29.8895, 37.8253, 8.1088)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE2C #3B2CAE
analogous
#AE7C2C #9FAE2C #5EAE2C
triadic
#9FAE2C #2C9FAE #AE2C9F
tetradic
#9FAE2C #2CAE7C #3B2CAE #AE2C5E
square
#9FAE2C #2CAE7C #3B2CAE #AE2C5E
split-complementary
#9FAE2C #2C5EAE #7C2CAE
monochromatic
#464C13 #727D20 #9FAE2C #C1D047 #D1DD78

Accessibility & contrast

On white

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

On black

8.57
#9FAE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE2C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE2C#FFFFFF#000000##000000
##9FAE2C1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fae2c;
/* rgb */ color: rgb(159, 174, 44);
/* oklch */ color: oklch(71.6% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc66f',
    500: '#9fae2c',
    950: '#000000',
  },
}
SCSS
$custom: #9fae2c;
$custom-light: #bfc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae2c",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 66.923,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71581,
    "c": 0.14864,
    "h": 116.1
  },
  "luminance": 0.37825
}

Semantic roles & 50–950 ramp

primary
#9FAE2C
secondary
#7B71C5
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FAE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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