#9FA82A#9FA82A

#9FA82A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.143 H 113.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9FA82A
RGBrgb(159, 168, 42)
HSLhsl(64, 60%, 41%)
HSVhsv(64, 75%, 66%)
CMYKcmyk(5.4%, 0%, 75%, 34.1%)
CIE-LABlab(66.17, -18.66, 59.55)
CIE-LCHlch(66.17, 62.41, 107.40°)
OKLaboklab(70.2% -0.0575 0.1311)
OKLCHoklch(70.2% 0.143 113.7)
XYZxyz(28.7195, 35.5440, 7.5378)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA82A #332AA8
analogous
#A8722A #9FA82A #60A82A
triadic
#9FA82A #2A9FA8 #A82A9F
tetradic
#9FA82A #2AA872 #332AA8 #A82A60
square
#9FA82A #2AA872 #332AA8 #A82A60
split-complementary
#9FA82A #2A60A8 #722AA8
monochromatic
#424612 #71771E #9FA82A #C5CF40 #D4DB71

Accessibility & contrast

On white

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

On black

8.11
#9FA82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA82A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA82A#FFFFFF#000000##000000
##9FA82A1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00D
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa82a;
/* rgb */ color: rgb(159, 168, 42);
/* oklch */ color: oklch(70.2% 0.143 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc16e',
    500: '#9fa82a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa82a;
$custom-light: #bfc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa82a",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 64.286,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70196,
    "c": 0.14316,
    "h": 113.7
  },
  "luminance": 0.35543
}

Semantic roles & 50–950 ramp

primary
#9FA82A
secondary
#716BC3
accent
#45E350
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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