#9FAC3C#9FAC3C

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

Color values

HEX#9FAC3C
RGBrgb(159, 172, 60)
HSLhsl(67, 48%, 45%)
HSVhsv(67, 65%, 67%)
CMYKcmyk(7.6%, 0%, 65.1%, 32.5%)
CIE-LABlab(67.43, -19.68, 53.97)
CIE-LCHlch(67.43, 57.44, 110.03°)
OKLaboklab(71.24% -0.0586 0.1224)
OKLCHoklch(71.24% 0.136 115.6)
XYZxyz(29.8669, 37.2027, 9.8816)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC3C #493CAC
analogous
#AC813C #9FAC3C #67AC3C
triadic
#9FAC3C #3C9FAC #AC3C9F
tetradic
#9FAC3C #3CAC81 #493CAC #AC3C67
square
#9FAC3C #3CAC81 #493CAC #AC3C67
split-complementary
#9FAC3C #3C67AC #813CAC
monochromatic
#4B511C #757F2C #9FAC3C #BBC75E #CED78C

Accessibility & contrast

On white

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

On black

8.44
#9FAC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC3C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC3C#FFFFFF#000000##000000
##9FAC3C1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac3c;
/* rgb */ color: rgb(159, 172, 60);
/* oklch */ color: oklch(71.2% 0.136 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec477',
    500: '#9fac3c',
    950: '#000000',
  },
}
SCSS
$custom: #9fac3c;
$custom-light: #bec477;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac3c",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 66.964,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71244,
    "c": 0.13564,
    "h": 115.6
  },
  "luminance": 0.37202
}

Semantic roles & 50–950 ramp

primary
#9FAC3C
secondary
#8A82C1
accent
#50D860
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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