#9FAB29#9FAB29

#9FAB29 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.147 H 114.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#9FAB29
RGBrgb(159, 171, 41)
HSLhsl(66, 61%, 42%)
HSVhsv(66, 76%, 67%)
CMYKcmyk(7%, 0%, 76%, 32.9%)
CIE-LABlab(67.02, -20.22, 60.68)
CIE-LCHlch(67.02, 63.96, 108.43°)
OKLaboklab(70.88% -0.0619 0.1333)
OKLCHoklch(70.88% 0.147 114.9)
XYZxyz(29.2621, 36.6574, 7.6315)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB29 #3529AB
analogous
#AB7629 #9FAB29 #5EAB29
triadic
#9FAB29 #299FAB #AB299F
tetradic
#9FAB29 #29AB76 #3529AB #AB295E
square
#9FAB29 #29AB76 #3529AB #AB295E
split-complementary
#9FAB29 #295EAB #7629AB
monochromatic
#434811 #717A1D #9FAB29 #C4D140 #D3DD71

Accessibility & contrast

On white

2.52
#9FAB29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#9FAB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB29
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB29#FFFFFF#000000##000000
##9FAB291.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A208
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#AAA193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab29;
/* rgb */ color: rgb(159, 171, 41);
/* oklch */ color: oklch(70.9% 0.147 114.9);
Tailwind
colors: {
  custom: {
    50: '#bfc36d',
    500: '#9fab29',
    950: '#000000',
  },
}
SCSS
$custom: #9fab29;
$custom-light: #bfc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab29",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 65.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70876,
    "c": 0.14699,
    "h": 114.9
  },
  "luminance": 0.36657
}

Semantic roles & 50–950 ramp

primary
#9FAB29
secondary
#746CC4
accent
#43E452
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAB29

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

Preview Lab → · Contrast checker → · Palette generator →

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