#9FA82B#9FA82B

#9FA82B is a light, vivid yellow. Relative luminance 0.356; 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#9FA82B
RGBrgb(159, 168, 43)
HSLhsl(64, 59%, 41%)
HSVhsv(64, 74%, 66%)
CMYKcmyk(5.4%, 0%, 74.4%, 34.1%)
CIE-LABlab(66.18, -18.62, 59.21)
CIE-LCHlch(66.18, 62.07, 107.45°)
OKLaboklab(70.2% -0.0572 0.1306)
OKLCHoklch(70.2% 0.143 113.7)
XYZxyz(28.7376, 35.5512, 7.6333)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA82B #342BA8
analogous
#A8732B #9FA82B #61A82B
triadic
#9FA82B #2B9FA8 #A82B9F
tetradic
#9FA82B #2BA873 #342BA8 #A82B61
square
#9FA82B #2BA873 #342BA8 #A82B61
split-complementary
#9FA82B #2B61A8 #732BA8
monochromatic
#434712 #71771F #9FA82B #C4CF42 #D3DB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA82B#FFFFFF#000000##000000
##9FA82B1.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)
#B5A010
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa82b;
/* rgb */ color: rgb(159, 168, 43);
/* oklch */ color: oklch(70.2% 0.143 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc16e',
    500: '#9fa82b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa82b;
$custom-light: #bfc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa82b",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 64.32,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70203,
    "c": 0.14259,
    "h": 113.7
  },
  "luminance": 0.35551
}

Semantic roles & 50–950 ramp

primary
#9FA82B
secondary
#736CC2
accent
#45E251
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA82B

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

Preview Lab → · Contrast checker → · Palette generator →

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