#9FA01C#9FA01C

#9FA01C is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.142 H 110.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9FA01C
RGBrgb(159, 160, 28)
HSLhsl(60, 70%, 37%)
HSVhsv(60, 83%, 63%)
CMYKcmyk(0.6%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.83, -15.10, 61.69)
CIE-LCHlch(63.83, 63.51, 103.76°)
OKLaboklab(68.31% -0.0487 0.1331)
OKLCHoklch(68.31% 0.142 110.1)
XYZxyz(27.0795, 32.5972, 5.9638)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA01C #1D1CA0
analogous
#A05F1C #9FA01C #5DA01C
triadic
#9FA01C #1C9FA0 #A01C9F
tetradic
#9FA01C #1CA05F #1D1CA0 #A01C5D
square
#9FA01C #1CA05F #1D1CA0 #A01C5D
split-complementary
#9FA01C #1C5DA0 #5F1CA0
monochromatic
#37380A #6B6C13 #9FA01C #D3D425 #E0E155

Accessibility & contrast

On white

2.79
#9FA01C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9FA01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA01C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA01C#FFFFFF#000000##000000
##9FA01C1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AF9C29
Tritanopia (blue-blind)
#AB9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa01c;
/* rgb */ color: rgb(159, 160, 28);
/* oklch */ color: oklch(68.3% 0.142 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb67',
    500: '#9fa01c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa01c;
$custom-light: #bfbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa01c",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 60.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68305,
    "c": 0.14176,
    "h": 110.1
  },
  "luminance": 0.32596
}

Semantic roles & 50–950 ramp

primary
#9FA01C
secondary
#5453C4
accent
#3BED3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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