#9FA82C#9FA82C

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

Color values

HEX#9FA82C
RGBrgb(159, 168, 44)
HSLhsl(64, 58%, 42%)
HSVhsv(64, 74%, 66%)
CMYKcmyk(5.4%, 0%, 73.8%, 34.1%)
CIE-LABlab(66.18, -18.57, 58.87)
CIE-LCHlch(66.18, 61.73, 107.50°)
OKLaboklab(70.21% -0.057 0.1301)
OKLCHoklch(70.21% 0.142 113.7)
XYZxyz(28.7562, 35.5586, 7.7311)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA82C #352CA8
analogous
#A8732C #9FA82C #61A82C
triadic
#9FA82C #2C9FA8 #A82C9F
tetradic
#9FA82C #2CA873 #352CA8 #A82C61
square
#9FA82C #2CA873 #352CA8 #A82C61
split-complementary
#9FA82C #2C61A8 #732CA8
monochromatic
#434713 #71781F #9FA82C #C4CE43 #D3DB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA82C#FFFFFF#000000##000000
##9FA82C1.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)
#B5A013
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa82c;
/* rgb */ color: rgb(159, 168, 44);
/* oklch */ color: oklch(70.2% 0.142 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc16f',
    500: '#9fa82c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa82c;
$custom-light: #bfc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa82c",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 64.355,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70209,
    "c": 0.142,
    "h": 113.7
  },
  "luminance": 0.35558
}

Semantic roles & 50–950 ramp

primary
#9FA82C
secondary
#746EC2
accent
#46E251
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA82C

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

Preview Lab → · Contrast checker → · Palette generator →

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