#9FA92A#9FA92A

#9FA92A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.144 H 114.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9FA92A
RGBrgb(159, 169, 42)
HSLhsl(65, 60%, 41%)
HSVhsv(65, 75%, 66%)
CMYKcmyk(5.9%, 0%, 75.1%, 33.7%)
CIE-LABlab(66.45, -19.17, 59.82)
CIE-LCHlch(66.45, 62.81, 107.77°)
OKLaboklab(70.43% -0.0589 0.1317)
OKLCHoklch(70.43% 0.144 114.1)
XYZxyz(28.9048, 35.9146, 7.5996)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA92A #342AA9
analogous
#A9742A #9FA92A #60A92A
triadic
#9FA92A #2A9FA9 #A92A9F
tetradic
#9FA92A #2AA974 #342AA9 #A92A60
square
#9FA92A #2AA974 #342AA9 #A92A60
split-complementary
#9FA92A #2A60A9 #742AA9
monochromatic
#434712 #71781E #9FA92A #C4D041 #D3DC72

Accessibility & contrast

On white

2.57
#9FA92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9FA92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA92A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA92A#FFFFFF#000000##000000
##9FA92A1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00D
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa92a;
/* rgb */ color: rgb(159, 169, 42);
/* oklch */ color: oklch(70.4% 0.144 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26e',
    500: '#9fa92a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa92a;
$custom-light: #bfc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa92a",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 64.724,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70425,
    "c": 0.14425,
    "h": 114.1
  },
  "luminance": 0.35914
}

Semantic roles & 50–950 ramp

primary
#9FA92A
secondary
#736CC3
accent
#44E351
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA92A

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

Preview Lab → · Contrast checker → · Palette generator →

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