#9FAC37#9FAC37

#9FAC37 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.2% C 0.139 H 115.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#9FAC37
RGBrgb(159, 172, 55)
HSLhsl(67, 52%, 45%)
HSVhsv(67, 68%, 67%)
CMYKcmyk(7.6%, 0%, 68%, 32.5%)
CIE-LABlab(67.39, -20.00, 55.96)
CIE-LCHlch(67.39, 59.42, 109.66°)
OKLaboklab(71.2% -0.0599 0.1258)
OKLCHoklch(71.2% 0.139 115.5)
XYZxyz(29.7409, 37.1523, 9.2181)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC37 #4437AC
analogous
#AC7F37 #9FAC37 #64AC37
triadic
#9FAC37 #379FAC #AC379F
tetradic
#9FAC37 #37AC7F #4437AC #AC3764
square
#9FAC37 #37AC7F #4437AC #AC3764
split-complementary
#9FAC37 #3764AC #7F37AC
monochromatic
#494F19 #747E28 #9FAC37 #BDC957 #CFD885

Accessibility & contrast

On white

2.49
#9FAC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#9FAC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC37
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC37#FFFFFF#000000##000000
##9FAC371.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A326
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#A9A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac37;
/* rgb */ color: rgb(159, 172, 55);
/* oklch */ color: oklch(71.2% 0.139 115.5);
Tailwind
colors: {
  custom: {
    50: '#bec475',
    500: '#9fac37',
    950: '#000000',
  },
}
SCSS
$custom: #9fac37;
$custom-light: #bec475;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac37",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 66.667,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.13934,
    "h": 115.5
  },
  "luminance": 0.37152
}

Semantic roles & 50–950 ramp

primary
#9FAC37
secondary
#857DC2
accent
#4DDB5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC37

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

Preview Lab → · Contrast checker → · Palette generator →

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