#9FAC33#9FAC33

#9FAC33 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.2% C 0.142 H 115.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#9FAC33
RGBrgb(159, 172, 51)
HSLhsl(66, 54%, 44%)
HSVhsv(66, 70%, 67%)
CMYKcmyk(7.6%, 0%, 70.3%, 32.5%)
CIE-LABlab(67.36, -20.23, 57.48)
CIE-LCHlch(67.36, 60.93, 109.39°)
OKLaboklab(71.17% -0.061 0.1283)
OKLCHoklch(71.17% 0.142 115.4)
XYZxyz(29.6489, 37.1155, 8.7335)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC33 #4033AC
analogous
#AC7C33 #9FAC33 #62AC33
triadic
#9FAC33 #339FAC #AC339F
tetradic
#9FAC33 #33AC7C #4033AC #AC3362
square
#9FAC33 #33AC7C #4033AC #AC3362
split-complementary
#9FAC33 #3362AC #7C33AC
monochromatic
#484E17 #737D25 #9FAC33 #BECB51 #D0D980

Accessibility & contrast

On white

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

On black

8.42
#9FAC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC33
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC33#FFFFFF#000000##000000
##9FAC331.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31F
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac33;
/* rgb */ color: rgb(159, 172, 51);
/* oklch */ color: oklch(71.2% 0.142 115.4);
Tailwind
colors: {
  custom: {
    50: '#bec473',
    500: '#9fac33',
    950: '#000000',
  },
}
SCSS
$custom: #9fac33;
$custom-light: #bec473;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac33",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 66.446,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.14207,
    "h": 115.4
  },
  "luminance": 0.37115
}

Semantic roles & 50–950 ramp

primary
#9FAC33
secondary
#8078C2
accent
#4ADE5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC33

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

Preview Lab → · Contrast checker → · Palette generator →

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