#9FAC29#9FAC29

#9FAC29 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.148 H 115.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#9FAC29
RGBrgb(159, 172, 41)
HSLhsl(66, 62%, 42%)
HSVhsv(66, 76%, 67%)
CMYKcmyk(7.6%, 0%, 76.2%, 32.5%)
CIE-LABlab(67.30, -20.73, 60.94)
CIE-LCHlch(67.30, 64.37, 108.78°)
OKLaboklab(71.1% -0.0633 0.1339)
OKLCHoklch(71.1% 0.148 115.3)
XYZxyz(29.4517, 37.0366, 7.6947)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC29 #3629AC
analogous
#AC7829 #9FAC29 #5EAC29
triadic
#9FAC29 #299FAC #AC299F
tetradic
#9FAC29 #29AC78 #3629AC #AC295E
square
#9FAC29 #29AC78 #3629AC #AC295E
split-complementary
#9FAC29 #295EAC #7829AC
monochromatic
#444911 #717B1D #9FAC29 #C3D241 #D3DD72

Accessibility & contrast

On white

2.50
#9FAC29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#9FAC29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC29
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC29#FFFFFF#000000##000000
##9FAC291.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A307
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac29;
/* rgb */ color: rgb(159, 172, 41);
/* oklch */ color: oklch(71.1% 0.148 115.3);
Tailwind
colors: {
  custom: {
    50: '#bfc46e',
    500: '#9fac29',
    950: '#000000',
  },
}
SCSS
$custom: #9fac29;
$custom-light: #bfc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac29",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 41
  },
  "hsl": {
    "h": 65.954,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71105,
    "c": 0.14809,
    "h": 115.3
  },
  "luminance": 0.37036
}

Semantic roles & 50–950 ramp

primary
#9FAC29
secondary
#756CC5
accent
#43E553
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC29

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

Preview Lab → · Contrast checker → · Palette generator →

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