#9FAC57#9FAC57

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

Color values

HEX#9FAC57
RGBrgb(159, 172, 87)
HSLhsl(69, 34%, 51%)
HSVhsv(69, 49%, 67%)
CMYKcmyk(7.6%, 0%, 49.4%, 32.5%)
CIE-LABlab(67.70, -17.44, 41.84)
CIE-LCHlch(67.70, 45.33, 112.63°)
OKLaboklab(71.55% -0.0495 0.0995)
OKLCHoklch(71.55% 0.111 116.5)
XYZxyz(30.7713, 37.5644, 14.6446)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC57 #6457AC
analogous
#AC8E57 #9FAC57 #74AC57
triadic
#9FAC57 #579FAC #AC579F
tetradic
#9FAC57 #57AC8E #6457AC #AC5774
square
#9FAC57 #57AC8E #6457AC #AC5774
split-complementary
#9FAC57 #5774AC #8E57AC
monochromatic
#545B2D #7A8441 #9FAC57 #B6C080 #CED4A9

Accessibility & contrast

On white

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

On black

8.51
#9FAC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC57
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC57#FFFFFF#000000##000000
##9FAC571.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac57;
/* rgb */ color: rgb(159, 172, 87);
/* oklch */ color: oklch(71.5% 0.111 116.5);
Tailwind
colors: {
  custom: {
    50: '#bdc488',
    500: '#9fac57',
    950: '#000000',
  },
}
SCSS
$custom: #9fac57;
$custom-light: #bdc488;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac57",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 87
  },
  "hsl": {
    "h": 69.176,
    "s": 33.865,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71547,
    "c": 0.11111,
    "h": 116.5
  },
  "luminance": 0.37564
}

Semantic roles & 50–950 ramp

primary
#9FAC57
secondary
#A29DC2
accent
#5ECA6E
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FAC57

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

Preview Lab → · Contrast checker → · Palette generator →

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