#9FAC2D#9FAC2D

#9FAC2D is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.1% C 0.146 H 115.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#9FAC2D
RGBrgb(159, 172, 45)
HSLhsl(66, 59%, 43%)
HSVhsv(66, 74%, 67%)
CMYKcmyk(7.6%, 0%, 73.8%, 32.5%)
CIE-LABlab(67.33, -20.54, 59.62)
CIE-LCHlch(67.33, 63.06, 109.01°)
OKLaboklab(71.13% -0.0624 0.1318)
OKLCHoklch(71.13% 0.146 115.3)
XYZxyz(29.5251, 37.0659, 8.0812)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC2D #3A2DAC
analogous
#AC7A2D #9FAC2D #5FAC2D
triadic
#9FAC2D #2D9FAC #AC2D9F
tetradic
#9FAC2D #2DAC7A #3A2DAC #AC2D5F
square
#9FAC2D #2DAC7A #3A2DAC #AC2D5F
split-complementary
#9FAC2D #2D5FAC #7A2DAC
monochromatic
#454B14 #727B20 #9FAC2D #C1CF47 #D1DC78

Accessibility & contrast

On white

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

On black

8.41
#9FAC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC2D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC2D#FFFFFF#000000##000000
##9FAC2D1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A313
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac2d;
/* rgb */ color: rgb(159, 172, 45);
/* oklch */ color: oklch(71.1% 0.146 115.3);
Tailwind
colors: {
  custom: {
    50: '#bfc46f',
    500: '#9fac2d',
    950: '#000000',
  },
}
SCSS
$custom: #9fac2d;
$custom-light: #bfc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac2d",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 66.142,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71129,
    "c": 0.14583,
    "h": 115.3
  },
  "luminance": 0.37065
}

Semantic roles & 50–950 ramp

primary
#9FAC2D
secondary
#7A71C4
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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