#9FA02A#9FA02A

#9FA02A is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.135 H 110.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9FA02A
RGBrgb(159, 160, 42)
HSLhsl(61, 58%, 40%)
HSVhsv(61, 74%, 63%)
CMYKcmyk(0.6%, 0%, 73.8%, 37.3%)
CIE-LABlab(63.90, -14.55, 57.41)
CIE-LCHlch(63.90, 59.23, 104.23°)
OKLaboklab(68.38% -0.046 0.1266)
OKLCHoklch(68.38% 0.135 110)
XYZxyz(27.2878, 32.6805, 7.0606)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA02A #2B2AA0
analogous
#A0662A #9FA02A #64A02A
triadic
#9FA02A #2A9FA0 #A02A9F
tetradic
#9FA02A #2AA066 #2B2AA0 #A02A64
square
#9FA02A #2AA066 #2B2AA0 #A02A64
split-complementary
#9FA02A #2A64A0 #662AA0
monochromatic
#3F3F11 #6F701D #9FA02A #CACC3C #D7D86C

Accessibility & contrast

On white

2.79
#9FA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#9FA02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA02A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA02A#FFFFFF#000000##000000
##9FA02A1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#AA9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa02a;
/* rgb */ color: rgb(159, 160, 42);
/* oklch */ color: oklch(68.4% 0.135 110.0);
Tailwind
colors: {
  custom: {
    50: '#bfbb6d',
    500: '#9fa02a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa02a;
$custom-light: #bfbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa02a",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 60.508,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68381,
    "c": 0.1347,
    "h": 110
  },
  "luminance": 0.3268
}

Semantic roles & 50–950 ramp

primary
#9FA02A
secondary
#6767BF
accent
#46E247
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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