#9FA01E#9FA01E

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

Color values

HEX#9FA01E
RGBrgb(159, 160, 30)
HSLhsl(60, 68%, 37%)
HSVhsv(60, 81%, 63%)
CMYKcmyk(0.6%, 0%, 81.3%, 37.3%)
CIE-LABlab(63.84, -15.04, 61.15)
CIE-LCHlch(63.84, 62.98, 103.81°)
OKLaboklab(68.31% -0.0484 0.1323)
OKLCHoklch(68.31% 0.141 110.1)
XYZxyz(27.1043, 32.6071, 6.0941)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA01E #1F1EA0
analogous
#A0601E #9FA01E #5EA01E
triadic
#9FA01E #1E9FA0 #A01E9F
tetradic
#9FA01E #1EA060 #1F1EA0 #A01E5E
square
#9FA01E #1EA060 #1F1EA0 #A01E5E
split-complementary
#9FA01E #1E5EA0 #601EA0
monochromatic
#39390B #6C6C14 #9FA01E #D2D428 #DFE059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA01E#FFFFFF#000000##000000
##9FA01E1.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)
#AF9C2A
Tritanopia (blue-blind)
#AB9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa01e;
/* rgb */ color: rgb(159, 160, 30);
/* oklch */ color: oklch(68.3% 0.141 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb67',
    500: '#9fa01e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa01e;
$custom-light: #bfbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa01e",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 60.462,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.14091,
    "h": 110.1
  },
  "luminance": 0.32606
}

Semantic roles & 50–950 ramp

primary
#9FA01E
secondary
#5756C4
accent
#3DEB3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA01E

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

Preview Lab → · Contrast checker → · Palette generator →

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