#9FA81E#9FA81E

#9FA81E 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#9FA81E
RGBrgb(159, 168, 30)
HSLhsl(64, 70%, 39%)
HSVhsv(64, 82%, 66%)
CMYKcmyk(5.4%, 0%, 82.1%, 34.1%)
CIE-LABlab(66.11, -19.14, 63.12)
CIE-LCHlch(66.11, 65.96, 106.86°)
OKLaboklab(70.13% -0.0597 0.1366)
OKLCHoklch(70.13% 0.149 113.6)
XYZxyz(28.5360, 35.4706, 6.5713)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA81E #271EA8
analogous
#A86C1E #9FA81E #5AA81E
triadic
#9FA81E #1E9FA8 #A81E9F
tetradic
#9FA81E #1EA86C #271EA8 #A81E5A
square
#9FA81E #1EA86C #271EA8 #A81E5A
split-complementary
#9FA81E #1E5AA8 #6C1EA8
monochromatic
#3D400B #6E7415 #9FA81E #CED92A #DAE25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA81E#FFFFFF#000000##000000
##9FA81E1.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)
#B5A22C
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa81e;
/* rgb */ color: rgb(159, 168, 30);
/* oklch */ color: oklch(70.1% 0.149 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc168',
    500: '#9fa81e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa81e;
$custom-light: #bfc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa81e",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 63.913,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70133,
    "c": 0.14907,
    "h": 113.6
  },
  "luminance": 0.3547
}

Semantic roles & 50–950 ramp

primary
#9FA81E
secondary
#625BC7
accent
#3BED47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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