#9FA11C#9FA11C

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

Color values

HEX#9FA11C
RGBrgb(159, 161, 28)
HSLhsl(61, 70%, 37%)
HSVhsv(61, 83%, 63%)
CMYKcmyk(1.2%, 0%, 82.6%, 36.9%)
CIE-LABlab(64.12, -15.62, 61.93)
CIE-LCHlch(64.12, 63.87, 104.16°)
OKLaboklab(68.53% -0.0501 0.1337)
OKLCHoklch(68.53% 0.143 110.6)
XYZxyz(27.2536, 32.9453, 6.0218)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA11C #1E1CA1
analogous
#A1601C #9FA11C #5DA11C
triadic
#9FA11C #1C9FA1 #A11C9F
tetradic
#9FA11C #1CA160 #1E1CA1 #A11C5D
square
#9FA11C #1CA160 #1E1CA1 #A11C5D
split-complementary
#9FA11C #1C5DA1 #601CA1
monochromatic
#38390A #6C6D13 #9FA11C #D2D525 #DFE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA11C#FFFFFF#000000##000000
##9FA11C1.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)
#B09D29
Tritanopia (blue-blind)
#AB9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa11c;
/* rgb */ color: rgb(159, 161, 28);
/* oklch */ color: oklch(68.5% 0.143 110.6);
Tailwind
colors: {
  custom: {
    50: '#bfbc67',
    500: '#9fa11c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa11c;
$custom-light: #bfbc67;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa11c",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 60.902,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.68531,
    "c": 0.14276,
    "h": 110.6
  },
  "luminance": 0.32945
}

Semantic roles & 50–950 ramp

primary
#9FA11C
secondary
#5654C5
accent
#3BED3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA11C

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

Preview Lab → · Contrast checker → · Palette generator →

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