#9FA82F#9FA82F

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

Color values

HEX#9FA82F
RGBrgb(159, 168, 47)
HSLhsl(64, 56%, 42%)
HSVhsv(64, 72%, 66%)
CMYKcmyk(5.4%, 0%, 72%, 34.1%)
CIE-LABlab(66.20, -18.42, 57.82)
CIE-LCHlch(66.20, 60.68, 107.67°)
OKLaboklab(70.23% -0.0563 0.1284)
OKLCHoklch(70.23% 0.14 113.7)
XYZxyz(28.8146, 35.5820, 8.0389)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA82F #382FA8
analogous
#A8752F #9FA82F #62A82F
triadic
#9FA82F #2F9FA8 #A82F9F
tetradic
#9FA82F #2FA875 #382FA8 #A82F62
square
#9FA82F #2FA875 #382FA8 #A82F62
split-complementary
#9FA82F #2F62A8 #752FA8
monochromatic
#444814 #727822 #9FA82F #C2CC48 #D2D978

Accessibility & contrast

On white

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

On black

8.12
#9FA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA82F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA82F#FFFFFF#000000##000000
##9FA82F1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa82f;
/* rgb */ color: rgb(159, 168, 47);
/* oklch */ color: oklch(70.2% 0.140 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc170',
    500: '#9fa82f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa82f;
$custom-light: #bfc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa82f",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 64.463,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70229,
    "c": 0.14018,
    "h": 113.7
  },
  "luminance": 0.35581
}

Semantic roles & 50–950 ramp

primary
#9FA82F
secondary
#7771C1
accent
#48E053
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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