#9FAC45#9FAC45

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

Color values

HEX#9FAC45
RGBrgb(159, 172, 69)
HSLhsl(68, 43%, 47%)
HSVhsv(68, 60%, 67%)
CMYKcmyk(7.6%, 0%, 59.9%, 32.5%)
CIE-LABlab(67.51, -19.03, 50.15)
CIE-LCHlch(67.51, 53.64, 110.78°)
OKLaboklab(71.33% -0.0558 0.1155)
OKLCHoklch(71.33% 0.128 115.8)
XYZxyz(30.1254, 37.3061, 11.2429)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC45 #5245AC
analogous
#AC8645 #9FAC45 #6BAC45
triadic
#9FAC45 #459FAC #AC459F
tetradic
#9FAC45 #45AC86 #5245AC #AC456B
square
#9FAC45 #45AC86 #5245AC #AC456B
split-complementary
#9FAC45 #456BAC #8645AC
monochromatic
#4E5522 #778033 #9FAC45 #B8C46B #CDD596

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC45#FFFFFF#000000##000000
##9FAC451.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)
#B7A439
Deuteranopia (green-blind)
#B6A54B
Tritanopia (blue-blind)
#A8A396
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac45;
/* rgb */ color: rgb(159, 172, 69);
/* oklch */ color: oklch(71.3% 0.128 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec47d',
    500: '#9fac45',
    950: '#000000',
  },
}
SCSS
$custom: #9fac45;
$custom-light: #bec47d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac45",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 67.573,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.1283,
    "h": 115.8
  },
  "luminance": 0.37306
}

Semantic roles & 50–950 ramp

primary
#9FAC45
secondary
#938CC1
accent
#55D365
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FAC45

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

Preview Lab → · Contrast checker → · Palette generator →

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