#9FAC3A#9FAC3A

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

Color values

HEX#9FAC3A
RGBrgb(159, 172, 58)
HSLhsl(67, 50%, 45%)
HSVhsv(67, 66%, 67%)
CMYKcmyk(7.6%, 0%, 66.3%, 32.5%)
CIE-LABlab(67.41, -19.81, 54.77)
CIE-LCHlch(67.41, 58.25, 109.88°)
OKLaboklab(71.23% -0.0591 0.1238)
OKLCHoklch(71.23% 0.137 115.5)
XYZxyz(29.8150, 37.1819, 9.6084)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC3A #473AAC
analogous
#AC803A #9FAC3A #66AC3A
triadic
#9FAC3A #3A9FAC #AC3A9F
tetradic
#9FAC3A #3AAC80 #473AAC #AC3A66
square
#9FAC3A #3AAC80 #473AAC #AC3A66
split-complementary
#9FAC3A #3A66AC #803AAC
monochromatic
#4A501B #757E2B #9FAC3A #BBC85B #CED789

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC3A#FFFFFF#000000##000000
##9FAC3A1.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)
#B8A32A
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#A9A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac3a;
/* rgb */ color: rgb(159, 172, 58);
/* oklch */ color: oklch(71.2% 0.137 115.5);
Tailwind
colors: {
  custom: {
    50: '#bec476',
    500: '#9fac3a',
    950: '#000000',
  },
}
SCSS
$custom: #9fac3a;
$custom-light: #bec476;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac3a",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 66.842,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71227,
    "c": 0.13715,
    "h": 115.5
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#9FAC3A
secondary
#8880C2
accent
#4FD95E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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