#9FAA1D#9FAA1D

#9FAA1D 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#9FAA1D
RGBrgb(159, 170, 29)
HSLhsl(65, 71%, 39%)
HSVhsv(65, 83%, 67%)
CMYKcmyk(6.5%, 0%, 82.9%, 33.3%)
CIE-LABlab(66.68, -20.18, 63.87)
CIE-LCHlch(66.68, 66.98, 107.53°)
OKLaboklab(70.59% -0.0627 0.138)
OKLCHoklch(70.59% 0.152 114.4)
XYZxyz(28.8955, 36.2097, 6.6292)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA1D #281DAA
analogous
#AA6F1D #9FAA1D #59AA1D
triadic
#9FAA1D #1D9FAA #AA1D9F
tetradic
#9FAA1D #1DAA6F #281DAA #AA1D59
square
#9FAA1D #1DAA6F #281DAA #AA1D59
split-complementary
#9FAA1D #1D59AA #6F1DAA
monochromatic
#3D410B #6E7614 #9FAA1D #CDDB2A #D9E45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAA1D#FFFFFF#000000##000000
##9FAA1D1.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)
#B6A32C
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa1d;
/* rgb */ color: rgb(159, 170, 29);
/* oklch */ color: oklch(70.6% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#bfc368',
    500: '#9faa1d',
    950: '#000000',
  },
}
SCSS
$custom: #9faa1d;
$custom-light: #bfc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa1d",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 29
  },
  "hsl": {
    "h": 64.681,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.15159,
    "h": 114.4
  },
  "luminance": 0.36209
}

Semantic roles & 50–950 ramp

primary
#9FAA1D
secondary
#645BC8
accent
#3AEE48
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAA1D

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

Preview Lab → · Contrast checker → · Palette generator →

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