#9FA020#9FA020

#9FA020 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.140 H 110.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9FA020
RGBrgb(159, 160, 32)
HSLhsl(60, 67%, 38%)
HSVhsv(60, 80%, 63%)
CMYKcmyk(0.6%, 0%, 80%, 37.3%)
CIE-LABlab(63.85, -14.97, 60.59)
CIE-LCHlch(63.85, 62.41, 103.88°)
OKLaboklab(68.32% -0.048 0.1315)
OKLCHoklch(68.32% 0.14 110.1)
XYZxyz(27.1306, 32.6176, 6.2329)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA020 #2120A0
analogous
#A06120 #9FA020 #5FA020
triadic
#9FA020 #209FA0 #A0209F
tetradic
#9FA020 #20A061 #2120A0 #A0205F
square
#9FA020 #20A061 #2120A0 #A0205F
split-complementary
#9FA020 #205FA0 #6120A0
monochromatic
#3A3A0C #6C6D16 #9FA020 #D2D32A #DDDE5C

Accessibility & contrast

On white

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

On black

7.52
#9FA020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA020
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA020#FFFFFF#000000##000000
##9FA0201.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AF9C2C
Tritanopia (blue-blind)
#AB9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa020;
/* rgb */ color: rgb(159, 160, 32);
/* oklch */ color: oklch(68.3% 0.140 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb68',
    500: '#9fa020',
    950: '#000000',
  },
}
SCSS
$custom: #9fa020;
$custom-light: #bfbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa020",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 60.469,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.14001,
    "h": 110.1
  },
  "luminance": 0.32617
}

Semantic roles & 50–950 ramp

primary
#9FA020
secondary
#5A59C3
accent
#3EEA40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA020

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

Preview Lab → · Contrast checker → · Palette generator →

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