#9FA720#9FA720

#9FA720 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.147 H 113.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9FA720
RGBrgb(159, 167, 32)
HSLhsl(64, 68%, 39%)
HSVhsv(64, 81%, 65%)
CMYKcmyk(4.8%, 0%, 80.8%, 34.5%)
CIE-LABlab(65.84, -18.56, 62.34)
CIE-LCHlch(65.84, 65.04, 106.58°)
OKLaboklab(69.91% -0.058 0.1353)
OKLCHoklch(69.91% 0.147 113.2)
XYZxyz(28.3784, 35.1133, 6.6488)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA720 #2820A7
analogous
#A76C20 #9FA720 #5BA720
triadic
#9FA720 #209FA7 #A7209F
tetradic
#9FA720 #20A76C #2820A7 #A7205B
square
#9FA720 #20A76C #2820A7 #A7205B
split-complementary
#9FA720 #205BA7 #6C20A7
monochromatic
#3D400C #6E7416 #9FA720 #CDD72D #D9E161

Accessibility & contrast

On white

2.62
#9FA720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9FA720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA720
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA720#FFFFFF#000000##000000
##9FA7201.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa720;
/* rgb */ color: rgb(159, 167, 32);
/* oklch */ color: oklch(69.9% 0.147 113.2);
Tailwind
colors: {
  custom: {
    50: '#bfc069',
    500: '#9fa720',
    950: '#000000',
  },
}
SCSS
$custom: #9fa720;
$custom-light: #bfc069;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa720",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 63.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69914,
    "c": 0.14717,
    "h": 113.2
  },
  "luminance": 0.35113
}

Semantic roles & 50–950 ramp

primary
#9FA720
secondary
#645DC5
accent
#3DEB47
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA720

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

Preview Lab → · Contrast checker → · Palette generator →

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