#9FA72D#9FA72D

#9FA72D is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.140 H 113.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA72D
RGBrgb(159, 167, 45)
HSLhsl(64, 58%, 42%)
HSVhsv(64, 73%, 65%)
CMYKcmyk(4.8%, 0%, 73.1%, 34.5%)
CIE-LABlab(65.90, -18.01, 58.26)
CIE-LCHlch(65.90, 60.98, 107.18°)
OKLaboklab(69.99% -0.0554 0.1289)
OKLCHoklch(69.99% 0.14 113.2)
XYZxyz(28.5913, 35.1984, 7.7700)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA72D #352DA7
analogous
#A7722D #9FA72D #62A72D
triadic
#9FA72D #2D9FA7 #A72D9F
tetradic
#9FA72D #2DA772 #352DA7 #A72D62
square
#9FA72D #2DA772 #352DA7 #A72D62
split-complementary
#9FA72D #2D62A7 #722DA7
monochromatic
#434713 #717720 #9FA72D #C4CD44 #D3DA75

Accessibility & contrast

On white

2.61
#9FA72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9FA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA72D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA72D#FFFFFF#000000##000000
##9FA72D1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F15
Deuteranopia (green-blind)
#B4A137
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa72d;
/* rgb */ color: rgb(159, 167, 45);
/* oklch */ color: oklch(70.0% 0.140 113.2);
Tailwind
colors: {
  custom: {
    50: '#bfc16f',
    500: '#9fa72d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa72d;
$custom-light: #bfc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa72d",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 63.934,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69988,
    "c": 0.14031,
    "h": 113.2
  },
  "luminance": 0.35198
}

Semantic roles & 50–950 ramp

primary
#9FA72D
secondary
#746EC1
accent
#47E151
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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