#9FA62A#9FA62A

#9FA62A is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.141 H 112.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9FA62A
RGBrgb(159, 166, 42)
HSLhsl(63, 60%, 41%)
HSVhsv(63, 75%, 65%)
CMYKcmyk(4.2%, 0%, 74.7%, 34.9%)
CIE-LABlab(65.60, -17.64, 59.02)
CIE-LCHlch(65.60, 61.60, 106.65°)
OKLaboklab(69.74% -0.0546 0.13)
OKLCHoklch(69.74% 0.141 112.8)
XYZxyz(28.3531, 34.8112, 7.4157)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA62A #312AA6
analogous
#A66F2A #9FA62A #61A62A
triadic
#9FA62A #2A9FA6 #A62A9F
tetradic
#9FA62A #2AA66F #312AA6 #A62A61
square
#9FA62A #2AA66F #312AA6 #A62A61
split-complementary
#9FA62A #2A61A6 #6F2AA6
monochromatic
#414411 #70751E #9FA62A #C6CE3F #D5DB70

Accessibility & contrast

On white

2.64
#9FA62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9FA62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA62A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA62A#FFFFFF#000000##000000
##9FA62A1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#AA9C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa62a;
/* rgb */ color: rgb(159, 166, 42);
/* oklch */ color: oklch(69.7% 0.141 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06d',
    500: '#9fa62a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa62a;
$custom-light: #bfc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa62a",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 63.387,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69741,
    "c": 0.14101,
    "h": 112.8
  },
  "luminance": 0.34811
}

Semantic roles & 50–950 ramp

primary
#9FA62A
secondary
#6F6AC2
accent
#45E34E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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