#9FA120#9FA120

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

Color values

HEX#9FA120
RGBrgb(159, 161, 32)
HSLhsl(61, 67%, 38%)
HSVhsv(61, 80%, 63%)
CMYKcmyk(1.2%, 0%, 80.1%, 36.9%)
CIE-LABlab(64.13, -15.49, 60.84)
CIE-LCHlch(64.13, 62.78, 104.28°)
OKLaboklab(68.55% -0.0495 0.132)
OKLCHoklch(68.55% 0.141 110.5)
XYZxyz(27.3047, 32.9657, 6.2909)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA120 #2220A1
analogous
#A16220 #9FA120 #5FA120
triadic
#9FA120 #209FA1 #A1209F
tetradic
#9FA120 #20A162 #2220A1 #A1205F
square
#9FA120 #20A162 #2220A1 #A1205F
split-complementary
#9FA120 #205FA1 #6220A1
monochromatic
#3A3B0C #6D6E16 #9FA120 #D1D42A #DDDF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA120#FFFFFF#000000##000000
##9FA1201.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)
#AF9D2C
Tritanopia (blue-blind)
#AB968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa120;
/* rgb */ color: rgb(159, 161, 32);
/* oklch */ color: oklch(68.5% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#bfbc68',
    500: '#9fa120',
    950: '#000000',
  },
}
SCSS
$custom: #9fa120;
$custom-light: #bfbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa120",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 60.93,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6855,
    "c": 0.14101,
    "h": 110.5
  },
  "luminance": 0.32965
}

Semantic roles & 50–950 ramp

primary
#9FA120
secondary
#5B5AC3
accent
#3EEA41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA120

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

Preview Lab → · Contrast checker → · Palette generator →

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