#9FAF24#9FAF24

#9FAF24 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.154 H 116.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#9FAF24
RGBrgb(159, 175, 36)
HSLhsl(67, 66%, 41%)
HSVhsv(67, 79%, 69%)
CMYKcmyk(9.1%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.14, -22.43, 63.24)
CIE-LCHlch(68.14, 67.10, 109.53°)
OKLaboklab(71.77% -0.0684 0.1379)
OKLCHoklch(71.77% 0.154 116.4)
XYZxyz(29.9473, 38.1587, 7.4565)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAF24 #3424AF
analogous
#AF7A24 #9FAF24 #5AAF24
triadic
#9FAF24 #249FAF #AF249F
tetradic
#9FAF24 #24AF7A #3424AF #AF245A
square
#9FAF24 #24AF7A #3424AF #AF245A
split-complementary
#9FAF24 #245AAF #7A24AF
monochromatic
#43490F #717C1A #9FAF24 #C4D63A #D3E16D

Accessibility & contrast

On white

2.43
#9FAF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#9FAF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAF24
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAF24#FFFFFF#000000##000000
##9FAF241.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#A9A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9faf24;
/* rgb */ color: rgb(159, 175, 36);
/* oklch */ color: oklch(71.8% 0.154 116.4);
Tailwind
colors: {
  custom: {
    50: '#bfc66c',
    500: '#9faf24',
    950: '#000000',
  },
}
SCSS
$custom: #9faf24;
$custom-light: #bfc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9faf24",
  "rgb": {
    "r": 159,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 66.906,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71766,
    "c": 0.15391,
    "h": 116.4
  },
  "luminance": 0.38158
}

Semantic roles & 50–950 ramp

primary
#9FAF24
secondary
#7368C7
accent
#3FE953
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FAF24

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

Preview Lab → · Contrast checker → · Palette generator →

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