#9FAC3B#9FAC3B

#9FAC3B 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#9FAC3B
RGBrgb(159, 172, 59)
HSLhsl(67, 49%, 45%)
HSVhsv(67, 66%, 67%)
CMYKcmyk(7.6%, 0%, 65.7%, 32.5%)
CIE-LABlab(67.42, -19.74, 54.37)
CIE-LCHlch(67.42, 57.85, 109.96°)
OKLaboklab(71.24% -0.0588 0.1231)
OKLCHoklch(71.24% 0.136 115.6)
XYZxyz(29.8407, 37.1922, 9.7436)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC3B #483BAC
analogous
#AC813B #9FAC3B #66AC3B
triadic
#9FAC3B #3B9FAC #AC3B9F
tetradic
#9FAC3B #3BAC81 #483BAC #AC3B66
square
#9FAC3B #3BAC81 #483BAC #AC3B66
split-complementary
#9FAC3B #3B66AC #813BAC
monochromatic
#4B511C #757E2B #9FAC3B #BBC75D #CED78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC3B#FFFFFF#000000##000000
##9FAC3B1.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)
#B8A32C
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#A9A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac3b;
/* rgb */ color: rgb(159, 172, 59);
/* oklch */ color: oklch(71.2% 0.136 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec477',
    500: '#9fac3b',
    950: '#000000',
  },
}
SCSS
$custom: #9fac3b;
$custom-light: #bec477;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac3b",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 66.903,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71235,
    "c": 0.1364,
    "h": 115.6
  },
  "luminance": 0.37192
}

Semantic roles & 50–950 ramp

primary
#9FAC3B
secondary
#8981C1
accent
#4FD85F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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