#9FA02C#9FA02C

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

Color values

HEX#9FA02C
RGBrgb(159, 160, 44)
HSLhsl(61, 57%, 40%)
HSVhsv(61, 73%, 63%)
CMYKcmyk(0.6%, 0%, 72.5%, 37.3%)
CIE-LABlab(63.91, -14.46, 56.70)
CIE-LCHlch(63.91, 58.52, 104.30°)
OKLaboklab(68.39% -0.0456 0.1255)
OKLCHoklch(68.39% 0.133 110)
XYZxyz(27.3245, 32.6952, 7.2538)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA02C #2D2CA0
analogous
#A0672C #9FA02C #65A02C
triadic
#9FA02C #2C9FA0 #A02C9F
tetradic
#9FA02C #2CA067 #2D2CA0 #A02C65
square
#9FA02C #2CA067 #2D2CA0 #A02C65
split-complementary
#9FA02C #2C65A0 #672CA0
monochromatic
#404012 #6F701F #9FA02C #C9CA3F #D7D76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA02C#FFFFFF#000000##000000
##9FA02C1.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)
#AD9916
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#AA968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa02c;
/* rgb */ color: rgb(159, 160, 44);
/* oklch */ color: oklch(68.4% 0.133 110.0);
Tailwind
colors: {
  custom: {
    50: '#bfbb6e',
    500: '#9fa02c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa02c;
$custom-light: #bfbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa02c",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 60.517,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.68394,
    "c": 0.13349,
    "h": 110
  },
  "luminance": 0.32694
}

Semantic roles & 50–950 ramp

primary
#9FA02C
secondary
#6A69BF
accent
#48E049
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9FA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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