#9FAC58#9FAC58

#9FAC58 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.110 H 116.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#9FAC58
RGBrgb(159, 172, 88)
HSLhsl(69, 34%, 51%)
HSVhsv(69, 49%, 67%)
CMYKcmyk(7.6%, 0%, 48.8%, 32.5%)
CIE-LABlab(67.71, -17.34, 41.35)
CIE-LCHlch(67.71, 44.84, 112.75°)
OKLaboklab(71.56% -0.0491 0.0985)
OKLCHoklch(71.56% 0.11 116.5)
XYZxyz(30.8124, 37.5809, 14.8613)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC58 #6558AC
analogous
#AC8F58 #9FAC58 #75AC58
triadic
#9FAC58 #589FAC #AC589F
tetradic
#9FAC58 #58AC8F #6558AC #AC5875
square
#9FAC58 #58AC8F #6558AC #AC5875
split-complementary
#9FAC58 #5875AC #8F58AC
monochromatic
#555C2E #7A8542 #9FAC58 #B6C081 #CED5AA

Accessibility & contrast

On white

2.47
#9FAC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#9FAC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC58
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC58#FFFFFF#000000##000000
##9FAC581.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac58;
/* rgb */ color: rgb(159, 172, 88);
/* oklch */ color: oklch(71.6% 0.110 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc489',
    500: '#9fac58',
    950: '#000000',
  },
}
SCSS
$custom: #9fac58;
$custom-light: #bdc489;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac58",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 88
  },
  "hsl": {
    "h": 69.286,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71561,
    "c": 0.11008,
    "h": 116.5
  },
  "luminance": 0.37581
}

Semantic roles & 50–950 ramp

primary
#9FAC58
secondary
#A39DC3
accent
#5ECA6F
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FAC58

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

Preview Lab → · Contrast checker → · Palette generator →

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