#9FAA1B#9FAA1B

#9FAA1B is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.152 H 114.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9FAA1B
RGBrgb(159, 170, 27)
HSLhsl(65, 73%, 39%)
HSVhsv(65, 84%, 67%)
CMYKcmyk(6.5%, 0%, 84.1%, 33.3%)
CIE-LABlab(66.67, -20.24, 64.36)
CIE-LCHlch(66.67, 67.47, 107.46°)
OKLaboklab(70.58% -0.063 0.1387)
OKLCHoklch(70.58% 0.152 114.4)
XYZxyz(28.8716, 36.2001, 6.5031)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA1B #261BAA
analogous
#AA6D1B #9FAA1B #57AA1B
triadic
#9FAA1B #1B9FAA #AA1B9F
tetradic
#9FAA1B #1BAA6D #261BAA #AA1B57
square
#9FAA1B #1BAA6D #261BAA #AA1B57
split-complementary
#9FAA1B #1B57AA #6D1BAA
monochromatic
#3C400A #6E7513 #9FAA1B #CEDC26 #DAE55B

Accessibility & contrast

On white

2.55
#9FAA1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9FAA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA1B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA1B#FFFFFF#000000##000000
##9FAA1B1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A32B
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa1b;
/* rgb */ color: rgb(159, 170, 27);
/* oklch */ color: oklch(70.6% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#bfc368',
    500: '#9faa1b',
    950: '#000000',
  },
}
SCSS
$custom: #9faa1b;
$custom-light: #bfc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa1b",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 64.615,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70578,
    "c": 0.15236,
    "h": 114.4
  },
  "luminance": 0.362
}

Semantic roles & 50–950 ramp

primary
#9FAA1B
secondary
#6158C9
accent
#39EF47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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