#9FAC24#9FAC24

#9FAC24 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.151 H 115.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9FAC24
RGBrgb(159, 172, 36)
HSLhsl(66, 65%, 41%)
HSVhsv(66, 79%, 67%)
CMYKcmyk(7.6%, 0%, 79.1%, 32.5%)
CIE-LABlab(67.28, -20.93, 62.47)
CIE-LCHlch(67.28, 65.88, 108.53°)
OKLaboklab(71.08% -0.0642 0.1363)
OKLCHoklch(71.08% 0.151 115.2)
XYZxyz(29.3699, 37.0039, 7.2640)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC24 #3124AC
analogous
#AC7524 #9FAC24 #5BAC24
triadic
#9FAC24 #249FAC #AC249F
tetradic
#9FAC24 #24AC75 #3124AC #AC245B
square
#9FAC24 #24AC75 #3124AC #AC245B
split-complementary
#9FAC24 #245BAC #7524AC
monochromatic
#41470F #707919 #9FAC24 #C6D538 #D5E06A

Accessibility & contrast

On white

2.50
#9FAC24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9FAC24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC24
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC24#FFFFFF#000000##000000
##9FAC241.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac24;
/* rgb */ color: rgb(159, 172, 36);
/* oklch */ color: oklch(71.1% 0.151 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc46b',
    500: '#9fac24',
    950: '#000000',
  },
}
SCSS
$custom: #9fac24;
$custom-light: #bfc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac24",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 36
  },
  "hsl": {
    "h": 65.735,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71077,
    "c": 0.15063,
    "h": 115.2
  },
  "luminance": 0.37003
}

Semantic roles & 50–950 ramp

primary
#9FAC24
secondary
#6F66C6
accent
#3FE850
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAC24

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

Preview Lab → · Contrast checker → · Palette generator →

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