#9FA121#9FA121

#9FA121 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.141 H 110.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9FA121
RGBrgb(159, 161, 33)
HSLhsl(61, 66%, 38%)
HSVhsv(61, 80%, 63%)
CMYKcmyk(1.2%, 0%, 79.5%, 36.9%)
CIE-LABlab(64.14, -15.45, 60.55)
CIE-LCHlch(64.14, 62.49, 104.31°)
OKLaboklab(68.55% -0.0493 0.1316)
OKLCHoklch(68.55% 0.141 110.5)
XYZxyz(27.3185, 32.9713, 6.3636)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA121 #2321A1
analogous
#A16321 #9FA121 #5FA121
triadic
#9FA121 #219FA1 #A1219F
tetradic
#9FA121 #21A163 #2321A1 #A1215F
square
#9FA121 #21A163 #2321A1 #A1215F
split-complementary
#9FA121 #215FA1 #6321A1
monochromatic
#3B3B0C #6D6E17 #9FA121 #D1D42C #DCDE5E

Accessibility & contrast

On white

2.77
#9FA121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9FA121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA121
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA121#FFFFFF#000000##000000
##9FA1211.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#AB968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa121;
/* rgb */ color: rgb(159, 161, 33);
/* oklch */ color: oklch(68.6% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#bfbc69',
    500: '#9fa121',
    950: '#000000',
  },
}
SCSS
$custom: #9fa121;
$custom-light: #bfbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa121",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 60.938,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68555,
    "c": 0.14054,
    "h": 110.5
  },
  "luminance": 0.3297
}

Semantic roles & 50–950 ramp

primary
#9FA121
secondary
#5D5BC3
accent
#3FE942
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA121

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

Preview Lab → · Contrast checker → · Palette generator →

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