#9FA63A#9FA63A

#9FA63A is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.130 H 112.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9FA63A
RGBrgb(159, 166, 58)
HSLhsl(64, 48%, 44%)
HSVhsv(64, 65%, 65%)
CMYKcmyk(4.2%, 0%, 65.1%, 34.9%)
CIE-LABlab(65.71, -16.76, 53.00)
CIE-LCHlch(65.71, 55.59, 107.55°)
OKLaboklab(69.86% -0.0506 0.12)
OKLCHoklch(69.86% 0.13 112.9)
XYZxyz(28.6988, 34.9495, 9.2363)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA63A #413AA6
analogous
#A6773A #9FA63A #69A63A
triadic
#9FA63A #3A9FA6 #A63A9F
tetradic
#9FA63A #3AA677 #413AA6 #A63A69
square
#9FA63A #3AA677 #413AA6 #A63A69
split-complementary
#9FA63A #3A69A6 #773AA6
monochromatic
#484B1A #74792A #9FA63A #BEC558 #D0D586

Accessibility & contrast

On white

2.63
#9FA63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9FA63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA63A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA63A#FFFFFF#000000##000000
##9FA63A1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2C
Deuteranopia (green-blind)
#B2A141
Tritanopia (blue-blind)
#A99C90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa63a;
/* rgb */ color: rgb(159, 166, 58);
/* oklch */ color: oklch(69.9% 0.130 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec076',
    500: '#9fa63a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa63a;
$custom-light: #bec076;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa63a",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 63.889,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.13024,
    "h": 112.9
  },
  "luminance": 0.34949
}

Semantic roles & 50–950 ramp

primary
#9FA63A
secondary
#817DBF
accent
#50D859
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA63A

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

Preview Lab → · Contrast checker → · Palette generator →

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