#9FAC48#9FAC48

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

Color values

HEX#9FAC48
RGBrgb(159, 172, 72)
HSLhsl(68, 41%, 48%)
HSVhsv(68, 58%, 67%)
CMYKcmyk(7.6%, 0%, 58.1%, 32.5%)
CIE-LABlab(67.53, -18.80, 48.82)
CIE-LCHlch(67.53, 52.31, 111.06°)
OKLaboklab(71.36% -0.0548 0.1131)
OKLCHoklch(71.36% 0.126 115.9)
XYZxyz(30.2209, 37.3442, 11.7458)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC48 #5548AC
analogous
#AC8748 #9FAC48 #6DAC48
triadic
#9FAC48 #489FAC #AC489F
tetradic
#9FAC48 #48AC87 #5548AC #AC486D
square
#9FAC48 #48AC87 #5548AC #AC486D
split-complementary
#9FAC48 #486DAC #8748AC
monochromatic
#4F5624 #778136 #9FAC48 #B8C36F #CDD59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC48#FFFFFF#000000##000000
##9FAC481.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)
#B7A43D
Deuteranopia (green-blind)
#B6A54E
Tritanopia (blue-blind)
#A8A396
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac48;
/* rgb */ color: rgb(159, 172, 72);
/* oklch */ color: oklch(71.4% 0.126 115.9);
Tailwind
colors: {
  custom: {
    50: '#bec47f',
    500: '#9fac48',
    950: '#000000',
  },
}
SCSS
$custom: #9fac48;
$custom-light: #bec47f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac48",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 67.8,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71363,
    "c": 0.12566,
    "h": 115.9
  },
  "luminance": 0.37344
}

Semantic roles & 50–950 ramp

primary
#9FAC48
secondary
#958FC1
accent
#57D167
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FAC48

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

Preview Lab → · Contrast checker → · Palette generator →

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