#9FAC46#9FAC46

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

Color values

HEX#9FAC46
RGBrgb(159, 172, 70)
HSLhsl(68, 42%, 47%)
HSVhsv(68, 59%, 67%)
CMYKcmyk(7.6%, 0%, 59.3%, 32.5%)
CIE-LABlab(67.52, -18.96, 49.71)
CIE-LCHlch(67.52, 53.20, 110.87°)
OKLaboklab(71.34% -0.0555 0.1147)
OKLCHoklch(71.34% 0.127 115.8)
XYZxyz(30.1567, 37.3186, 11.4077)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC46 #5346AC
analogous
#AC8646 #9FAC46 #6CAC46
triadic
#9FAC46 #469FAC #AC469F
tetradic
#9FAC46 #46AC86 #5346AC #AC466C
square
#9FAC46 #46AC86 #5346AC #AC466C
split-complementary
#9FAC46 #466CAC #8646AC
monochromatic
#4F5523 #778134 #9FAC46 #B8C36C #CDD598

Accessibility & contrast

On white

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

On black

8.46
#9FAC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC46
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC46#FFFFFF#000000##000000
##9FAC461.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac46;
/* rgb */ color: rgb(159, 172, 70);
/* oklch */ color: oklch(71.3% 0.127 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec47d',
    500: '#9fac46',
    950: '#000000',
  },
}
SCSS
$custom: #9fac46;
$custom-light: #bec47d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac46",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 70
  },
  "hsl": {
    "h": 67.647,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71341,
    "c": 0.12743,
    "h": 115.8
  },
  "luminance": 0.37318
}

Semantic roles & 50–950 ramp

primary
#9FAC46
secondary
#948DC1
accent
#56D266
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FAC46

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

Preview Lab → · Contrast checker → · Palette generator →

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