#9FA82D#9FA82D

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

Color values

HEX#9FA82D
RGBrgb(159, 168, 45)
HSLhsl(64, 58%, 42%)
HSVhsv(64, 73%, 66%)
CMYKcmyk(5.4%, 0%, 73.2%, 34.1%)
CIE-LABlab(66.19, -18.52, 58.53)
CIE-LCHlch(66.19, 61.39, 107.56°)
OKLaboklab(70.22% -0.0568 0.1295)
OKLCHoklch(70.22% 0.141 113.7)
XYZxyz(28.7752, 35.5662, 7.8313)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA82D #362DA8
analogous
#A8742D #9FA82D #62A82D
triadic
#9FA82D #2D9FA8 #A82D9F
tetradic
#9FA82D #2DA874 #362DA8 #A82D62
square
#9FA82D #2DA874 #362DA8 #A82D62
split-complementary
#9FA82D #2D62A8 #742DA8
monochromatic
#444713 #717820 #9FA82D #C3CD45 #D3DA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA82D#FFFFFF#000000##000000
##9FA82D1.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)
#B5A015
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa82d;
/* rgb */ color: rgb(159, 168, 45);
/* oklch */ color: oklch(70.2% 0.141 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc16f',
    500: '#9fa82d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa82d;
$custom-light: #bfc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa82d",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 64.39,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70216,
    "c": 0.14141,
    "h": 113.7
  },
  "luminance": 0.35566
}

Semantic roles & 50–950 ramp

primary
#9FA82D
secondary
#756FC2
accent
#47E152
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA82D

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

Preview Lab → · Contrast checker → · Palette generator →

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