#9FAE2B#9FAE2B

#9FAE2B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.6% C 0.149 H 116.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#9FAE2B
RGBrgb(159, 174, 43)
HSLhsl(67, 60%, 43%)
HSVhsv(67, 75%, 68%)
CMYKcmyk(8.6%, 0%, 75.3%, 31.8%)
CIE-LABlab(67.89, -21.63, 60.83)
CIE-LCHlch(67.89, 64.56, 109.58°)
OKLaboklab(71.58% -0.0656 0.134)
OKLCHoklch(71.58% 0.149 116.1)
XYZxyz(29.8710, 37.8179, 8.0110)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE2B #3A2BAE
analogous
#AE7B2B #9FAE2B #5EAE2B
triadic
#9FAE2B #2B9FAE #AE2B9F
tetradic
#9FAE2B #2BAE7B #3A2BAE #AE2B5E
square
#9FAE2B #2BAE7B #3A2BAE #AE2B5E
split-complementary
#9FAE2B #2B5EAE #7B2BAE
monochromatic
#454C13 #727D1F #9FAE2B #C1D145 #D1DD76

Accessibility & contrast

On white

2.45
#9FAE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#9FAE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE2B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE2B#FFFFFF#000000##000000
##9FAE2B1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50C
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#A9A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fae2b;
/* rgb */ color: rgb(159, 174, 43);
/* oklch */ color: oklch(71.6% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc66f',
    500: '#9fae2b',
    950: '#000000',
  },
}
SCSS
$custom: #9fae2b;
$custom-light: #bfc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae2b",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 66.87,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71575,
    "c": 0.1492,
    "h": 116.1
  },
  "luminance": 0.37817
}

Semantic roles & 50–950 ramp

primary
#9FAE2B
secondary
#7A70C5
accent
#44E457
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FAE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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