#9FAC4B#9FAC4B

#9FAC4B is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.123 H 116.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#9FAC4B
RGBrgb(159, 172, 75)
HSLhsl(68, 39%, 48%)
HSVhsv(68, 56%, 67%)
CMYKcmyk(7.6%, 0%, 56.4%, 32.5%)
CIE-LABlab(67.56, -18.55, 47.46)
CIE-LCHlch(67.56, 50.96, 111.35°)
OKLaboklab(71.4% -0.0538 0.1105)
OKLCHoklch(71.4% 0.123 116)
XYZxyz(30.3211, 37.3844, 12.2738)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC4B #584BAC
analogous
#AC884B #9FAC4B #6EAC4B
triadic
#9FAC4B #4B9FAC #AC4B9F
tetradic
#9FAC4B #4BAC88 #584BAC #AC4B6E
square
#9FAC4B #4BAC88 #584BAC #AC4B6E
split-complementary
#9FAC4B #4B6EAC #884BAC
monochromatic
#505726 #788138 #9FAC4B #B7C272 #CDD49D

Accessibility & contrast

On white

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

On black

8.48
#9FAC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC4B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC4B#FFFFFF#000000##000000
##9FAC4B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A441
Deuteranopia (green-blind)
#B6A551
Tritanopia (blue-blind)
#A8A397
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fac4b;
/* rgb */ color: rgb(159, 172, 75);
/* oklch */ color: oklch(71.4% 0.123 116.0);
Tailwind
colors: {
  custom: {
    50: '#bdc481',
    500: '#9fac4b',
    950: '#000000',
  },
}
SCSS
$custom: #9fac4b;
$custom-light: #bdc481;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac4b",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 75
  },
  "hsl": {
    "h": 68.041,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71396,
    "c": 0.12292,
    "h": 116
  },
  "luminance": 0.37384
}

Semantic roles & 50–950 ramp

primary
#9FAC4B
secondary
#9892C1
accent
#59CF69
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FAC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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