#9FA01B#9FA01B

#9FA01B 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#9FA01B
RGBrgb(159, 160, 27)
HSLhsl(60, 71%, 37%)
HSVhsv(60, 83%, 63%)
CMYKcmyk(0.6%, 0%, 83.1%, 37.3%)
CIE-LABlab(63.83, -15.13, 61.95)
CIE-LCHlch(63.83, 63.77, 103.73°)
OKLaboklab(68.3% -0.0489 0.1335)
OKLCHoklch(68.3% 0.142 110.1)
XYZxyz(27.0678, 32.5925, 5.9018)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA01B #1C1BA0
analogous
#A05F1B #9FA01B #5DA01B
triadic
#9FA01B #1B9FA0 #A01B9F
tetradic
#9FA01B #1BA05F #1C1BA0 #A01B5D
square
#9FA01B #1BA05F #1C1BA0 #A01B5D
split-complementary
#9FA01B #1B5DA0 #5F1BA0
monochromatic
#373709 #6B6C12 #9FA01B #D3D424 #E1E253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA01B#FFFFFF#000000##000000
##9FA01B1.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)
#AF9C28
Tritanopia (blue-blind)
#AB9588
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa01b;
/* rgb */ color: rgb(159, 160, 27);
/* oklch */ color: oklch(68.3% 0.142 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb66',
    500: '#9fa01b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa01b;
$custom-light: #bfbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa01b",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 60.451,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.68301,
    "c": 0.14217,
    "h": 110.1
  },
  "luminance": 0.32592
}

Semantic roles & 50–950 ramp

primary
#9FA01B
secondary
#5352C5
accent
#3AEE3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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