#9FAF29#9FAF29

#9FAF29 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.151 H 116.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#9FAF29
RGBrgb(159, 175, 41)
HSLhsl(67, 62%, 42%)
HSVhsv(67, 77%, 69%)
CMYKcmyk(9.1%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.16, -22.22, 61.73)
CIE-LCHlch(68.16, 65.61, 109.80°)
OKLaboklab(71.79% -0.0674 0.1356)
OKLCHoklch(71.79% 0.151 116.4)
XYZxyz(30.0291, 38.1914, 7.8872)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAF29 #3929AF
analogous
#AF7C29 #9FAF29 #5CAF29
triadic
#9FAF29 #299FAF #AF299F
tetradic
#9FAF29 #29AF7C #3929AF #AF295C
square
#9FAF29 #29AF7C #3929AF #AF295C
split-complementary
#9FAF29 #295CAF #7C29AF
monochromatic
#454C12 #727D1D #9FAF29 #C2D342 #D2DE74

Accessibility & contrast

On white

2.43
#9FAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#9FAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAF29
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAF29#FFFFFF#000000##000000
##9FAF291.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA604
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#A9A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9faf29;
/* rgb */ color: rgb(159, 175, 41);
/* oklch */ color: oklch(71.8% 0.151 116.4);
Tailwind
colors: {
  custom: {
    50: '#bfc66e',
    500: '#9faf29',
    950: '#000000',
  },
}
SCSS
$custom: #9faf29;
$custom-light: #bfc66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9faf29",
  "rgb": {
    "r": 159,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 67.164,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71793,
    "c": 0.1514,
    "h": 116.4
  },
  "luminance": 0.38191
}

Semantic roles & 50–950 ramp

primary
#9FAF29
secondary
#786EC6
accent
#43E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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