#9FAC47#9FAC47

#9FAC47 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.127 H 115.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#9FAC47
RGBrgb(159, 172, 71)
HSLhsl(68, 42%, 48%)
HSVhsv(68, 59%, 67%)
CMYKcmyk(7.6%, 0%, 58.7%, 32.5%)
CIE-LABlab(67.52, -18.88, 49.26)
CIE-LCHlch(67.52, 52.76, 110.97°)
OKLaboklab(71.35% -0.0552 0.1139)
OKLCHoklch(71.35% 0.127 115.8)
XYZxyz(30.1885, 37.3313, 11.5754)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC47 #5447AC
analogous
#AC8747 #9FAC47 #6CAC47
triadic
#9FAC47 #479FAC #AC479F
tetradic
#9FAC47 #47AC87 #5447AC #AC476C
square
#9FAC47 #47AC87 #5447AC #AC476C
split-complementary
#9FAC47 #476CAC #8747AC
monochromatic
#4F5523 #778135 #9FAC47 #B8C36D #CDD599

Accessibility & contrast

On white

2.48
#9FAC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#9FAC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC47
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC47#FFFFFF#000000##000000
##9FAC471.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43C
Deuteranopia (green-blind)
#B6A54D
Tritanopia (blue-blind)
#A8A396
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac47;
/* rgb */ color: rgb(159, 172, 71);
/* oklch */ color: oklch(71.4% 0.127 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec47e',
    500: '#9fac47',
    950: '#000000',
  },
}
SCSS
$custom: #9fac47;
$custom-light: #bec47e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac47",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 67.723,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71352,
    "c": 0.12655,
    "h": 115.8
  },
  "luminance": 0.37331
}

Semantic roles & 50–950 ramp

primary
#9FAC47
secondary
#948EC1
accent
#56D166
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FAC47

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

Preview Lab → · Contrast checker → · Palette generator →

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