#9FAC2C#9FAC2C

#9FAC2C 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#9FAC2C
RGBrgb(159, 172, 44)
HSLhsl(66, 59%, 42%)
HSVhsv(66, 74%, 67%)
CMYKcmyk(7.6%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.32, -20.59, 59.96)
CIE-LCHlch(67.32, 63.39, 108.95°)
OKLaboklab(71.12% -0.0626 0.1323)
OKLCHoklch(71.12% 0.146 115.3)
XYZxyz(29.5060, 37.0583, 7.9810)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC2C #392CAC
analogous
#AC792C #9FAC2C #5FAC2C
triadic
#9FAC2C #2C9FAC #AC2C9F
tetradic
#9FAC2C #2CAC79 #392CAC #AC2C5F
square
#9FAC2C #2CAC79 #392CAC #AC2C5F
split-complementary
#9FAC2C #2C5FAC #792CAC
monochromatic
#454B13 #727B20 #9FAC2C #C2D046 #D2DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC2C#FFFFFF#000000##000000
##9FAC2C1.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)
#B8A310
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac2c;
/* rgb */ color: rgb(159, 172, 44);
/* oklch */ color: oklch(71.1% 0.146 115.3);
Tailwind
colors: {
  custom: {
    50: '#bfc46f',
    500: '#9fac2c',
    950: '#000000',
  },
}
SCSS
$custom: #9fac2c;
$custom-light: #bfc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac2c",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 66.094,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71123,
    "c": 0.14641,
    "h": 115.3
  },
  "luminance": 0.37058
}

Semantic roles & 50–950 ramp

primary
#9FAC2C
secondary
#7870C4
accent
#45E255
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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