#9FAE23#9FAE23

#9FAE23 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.153 H 116.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#9FAE23
RGBrgb(159, 174, 35)
HSLhsl(66, 67%, 41%)
HSVhsv(66, 80%, 68%)
CMYKcmyk(8.6%, 0%, 79.9%, 31.8%)
CIE-LABlab(67.85, -21.97, 63.27)
CIE-LCHlch(67.85, 66.97, 109.15°)
OKLaboklab(71.53% -0.0672 0.1378)
OKLCHoklch(71.53% 0.153 116)
XYZxyz(29.7383, 37.7648, 7.3125)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE23 #3223AE
analogous
#AE7723 #9FAE23 #59AE23
triadic
#9FAE23 #239FAE #AE239F
tetradic
#9FAE23 #23AE77 #3223AE #AE2359
square
#9FAE23 #23AE77 #3223AE #AE2359
split-complementary
#9FAE23 #2359AE #7723AE
monochromatic
#42480F #707B19 #9FAE23 #C6D737 #D4E16A

Accessibility & contrast

On white

2.46
#9FAE23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#9FAE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE23
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE23#FFFFFF#000000##000000
##9FAE231.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#AAA495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fae23;
/* rgb */ color: rgb(159, 174, 35);
/* oklch */ color: oklch(71.5% 0.153 116.0);
Tailwind
colors: {
  custom: {
    50: '#bfc66b',
    500: '#9fae23',
    950: '#000000',
  },
}
SCSS
$custom: #9fae23;
$custom-light: #bfc66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae23",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 66.475,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71531,
    "c": 0.15329,
    "h": 116
  },
  "luminance": 0.37764
}

Semantic roles & 50–950 ramp

primary
#9FAE23
secondary
#7066C7
accent
#3EE951
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FAE23

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

Preview Lab → · Contrast checker → · Palette generator →

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