#9FA722#9FA722

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

Color values

HEX#9FA722
RGBrgb(159, 167, 34)
HSLhsl(64, 66%, 39%)
HSVhsv(64, 80%, 65%)
CMYKcmyk(4.8%, 0%, 79.6%, 34.5%)
CIE-LABlab(65.85, -18.49, 61.78)
CIE-LCHlch(65.85, 64.48, 106.66°)
OKLaboklab(69.92% -0.0576 0.1344)
OKLCHoklch(69.92% 0.146 113.2)
XYZxyz(28.4065, 35.1245, 6.7964)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA722 #2A22A7
analogous
#A76D22 #9FA722 #5DA722
triadic
#9FA722 #229FA7 #A7229F
tetradic
#9FA722 #22A76D #2A22A7 #A7225D
square
#9FA722 #22A76D #2A22A7 #A7225D
split-complementary
#9FA722 #225DA7 #6D22A7
monochromatic
#3E410D #6F7418 #9FA722 #CBD531 #D8DF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA722#FFFFFF#000000##000000
##9FA7221.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)
#B4A12F
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa722;
/* rgb */ color: rgb(159, 167, 34);
/* oklch */ color: oklch(69.9% 0.146 113.2);
Tailwind
colors: {
  custom: {
    50: '#bfc06a',
    500: '#9fa722',
    950: '#000000',
  },
}
SCSS
$custom: #9fa722;
$custom-light: #bfc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa722",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 63.609,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69924,
    "c": 0.14625,
    "h": 113.2
  },
  "luminance": 0.35124
}

Semantic roles & 50–950 ramp

primary
#9FA722
secondary
#6660C5
accent
#3FE949
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA722

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

Preview Lab → · Contrast checker → · Palette generator →

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