#9FA11E#9FA11E

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

Color values

HEX#9FA11E
RGBrgb(159, 161, 30)
HSLhsl(61, 69%, 37%)
HSVhsv(61, 81%, 63%)
CMYKcmyk(1.2%, 0%, 81.4%, 36.9%)
CIE-LABlab(64.12, -15.56, 61.40)
CIE-LCHlch(64.12, 63.34, 104.22°)
OKLaboklab(68.54% -0.0498 0.1329)
OKLCHoklch(68.54% 0.142 110.6)
XYZxyz(27.2783, 32.9552, 6.1521)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA11E #201EA1
analogous
#A1611E #9FA11E #5EA11E
triadic
#9FA11E #1E9FA1 #A11E9F
tetradic
#9FA11E #1EA161 #201EA1 #A11E5E
square
#9FA11E #1EA161 #201EA1 #A11E5E
split-complementary
#9FA11E #1E5EA1 #611EA1
monochromatic
#393A0B #6C6D14 #9FA11E #D2D528 #DEE059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9fa11e;
/* rgb */ color: rgb(159, 161, 30);
/* oklch */ color: oklch(68.5% 0.142 110.6);
Tailwind
colors: {
  custom: {
    50: '#bfbc67',
    500: '#9fa11e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa11e;
$custom-light: #bfbc67;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa11e",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 30
  },
  "hsl": {
    "h": 60.916,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6854,
    "c": 0.1419,
    "h": 110.6
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

primary
#9FA11E
secondary
#5957C4
accent
#3CEB3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA11E

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

Preview Lab → · Contrast checker → · Palette generator →

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