#9FAC39#9FAC39

#9FAC39 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.2% C 0.138 H 115.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#9FAC39
RGBrgb(159, 172, 57)
HSLhsl(67, 50%, 45%)
HSVhsv(67, 67%, 67%)
CMYKcmyk(7.6%, 0%, 66.9%, 32.5%)
CIE-LABlab(67.41, -19.87, 55.17)
CIE-LCHlch(67.41, 58.64, 109.81°)
OKLaboklab(71.22% -0.0594 0.1244)
OKLCHoklch(71.22% 0.138 115.5)
XYZxyz(29.7898, 37.1718, 9.4757)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC39 #4639AC
analogous
#AC8039 #9FAC39 #65AC39
triadic
#9FAC39 #399FAC #AC399F
tetradic
#9FAC39 #39AC80 #4639AC #AC3965
square
#9FAC39 #39AC80 #4639AC #AC3965
split-complementary
#9FAC39 #3965AC #8039AC
monochromatic
#4A501B #757E2A #9FAC39 #BCC85A #CFD888

Accessibility & contrast

On white

2.49
#9FAC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#9FAC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC39
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC39#FFFFFF#000000##000000
##9FAC391.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A329
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#A9A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac39;
/* rgb */ color: rgb(159, 172, 57);
/* oklch */ color: oklch(71.2% 0.138 115.5);
Tailwind
colors: {
  custom: {
    50: '#bec476',
    500: '#9fac39',
    950: '#000000',
  },
}
SCSS
$custom: #9fac39;
$custom-light: #bec476;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac39",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 57
  },
  "hsl": {
    "h": 66.783,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71218,
    "c": 0.13789,
    "h": 115.5
  },
  "luminance": 0.37171
}

Semantic roles & 50–950 ramp

primary
#9FAC39
secondary
#877FC2
accent
#4EDA5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC39

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

Preview Lab → · Contrast checker → · Palette generator →

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