#9FA81D#9FA81D

#9FA81D is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.149 H 113.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9FA81D
RGBrgb(159, 168, 29)
HSLhsl(64, 71%, 39%)
HSVhsv(64, 83%, 66%)
CMYKcmyk(5.4%, 0%, 82.7%, 34.1%)
CIE-LABlab(66.11, -19.17, 63.38)
CIE-LCHlch(66.11, 66.22, 106.83°)
OKLaboklab(70.13% -0.0599 0.137)
OKLCHoklch(70.13% 0.149 113.6)
XYZxyz(28.5234, 35.4655, 6.5051)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA81D #261DA8
analogous
#A86B1D #9FA81D #59A81D
triadic
#9FA81D #1D9FA8 #A81D9F
tetradic
#9FA81D #1DA86B #261DA8 #A81D59
square
#9FA81D #1DA86B #261DA8 #A81D59
split-complementary
#9FA81D #1D59A8 #6B1DA8
monochromatic
#3C400B #6E7414 #9FA81D #CEDA28 #DAE35C

Accessibility & contrast

On white

2.59
#9FA81D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9FA81D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA81D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA81D#FFFFFF#000000##000000
##9FA81D1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa81d;
/* rgb */ color: rgb(159, 168, 29);
/* oklch */ color: oklch(70.1% 0.149 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc168',
    500: '#9fa81d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa81d;
$custom-light: #bfc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa81d",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 63.885,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70129,
    "c": 0.14949,
    "h": 113.6
  },
  "luminance": 0.35465
}

Semantic roles & 50–950 ramp

primary
#9FA81D
secondary
#615AC7
accent
#3AED46
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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