#9FAF33#9FAF33

#9FAF33 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.146 H 116.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#9FAF33
RGBrgb(159, 175, 51)
HSLhsl(68, 55%, 44%)
HSVhsv(68, 71%, 69%)
CMYKcmyk(9.1%, 0%, 70.9%, 31.4%)
CIE-LABlab(68.22, -21.73, 58.32)
CIE-LCHlch(68.22, 62.24, 110.43°)
OKLaboklab(71.86% -0.0652 0.1301)
OKLCHoklch(71.86% 0.146 116.6)
XYZxyz(30.2263, 38.2703, 8.9259)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAF33 #4333AF
analogous
#AF8133 #9FAF33 #61AF33
triadic
#9FAF33 #339FAF #AF339F
tetradic
#9FAF33 #33AF81 #4333AF #AF3361
square
#9FAF33 #33AF81 #4333AF #AF3361
split-complementary
#9FAF33 #3361AF #8133AF
monochromatic
#495017 #748025 #9FAF33 #BDCD52 #CFDB82

Accessibility & contrast

On white

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

On black

8.65
#9FAF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAF33
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAF33#FFFFFF#000000##000000
##9FAF331.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61E
Deuteranopia (green-blind)
#BAA73D
Tritanopia (blue-blind)
#A9A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9faf33;
/* rgb */ color: rgb(159, 175, 51);
/* oklch */ color: oklch(71.9% 0.146 116.6);
Tailwind
colors: {
  custom: {
    50: '#bfc673',
    500: '#9faf33',
    950: '#000000',
  },
}
SCSS
$custom: #9faf33;
$custom-light: #bfc673;
$custom-dark: #000000;
JSON
{
  "hex": "#9faf33",
  "rgb": {
    "r": 159,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 67.742,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71858,
    "c": 0.14551,
    "h": 116.6
  },
  "luminance": 0.3827
}

Semantic roles & 50–950 ramp

primary
#9FAF33
secondary
#847AC4
accent
#4ADE5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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