#9FA91B#9FA91B

#9FA91B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.151 H 114.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9FA91B
RGBrgb(159, 169, 27)
HSLhsl(64, 72%, 38%)
HSVhsv(64, 84%, 66%)
CMYKcmyk(5.9%, 0%, 84%, 33.7%)
CIE-LABlab(66.39, -19.73, 64.12)
CIE-LCHlch(66.39, 67.09, 107.11°)
OKLaboklab(70.35% -0.0616 0.1382)
OKLCHoklch(70.35% 0.151 114)
XYZxyz(28.6848, 35.8266, 6.4409)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA91B #251BA9
analogous
#A96C1B #9FA91B #58A91B
triadic
#9FA91B #1B9FA9 #A91B9F
tetradic
#9FA91B #1BA96C #251BA9 #A91B58
square
#9FA91B #1BA96C #251BA9 #A91B58
split-complementary
#9FA91B #1B58A9 #6C1BA9
monochromatic
#3C3F0A #6D7413 #9FA91B #CFDC25 #DBE55A

Accessibility & contrast

On white

2.57
#9FA91B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9FA91B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA91B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA91B#FFFFFF#000000##000000
##9FA91B1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32A
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa91b;
/* rgb */ color: rgb(159, 169, 27);
/* oklch */ color: oklch(70.3% 0.151 114.0);
Tailwind
colors: {
  custom: {
    50: '#bfc267',
    500: '#9fa91b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa91b;
$custom-light: #bfc267;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa91b",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 27
  },
  "hsl": {
    "h": 64.225,
    "s": 72.449,
    "l": 38.431
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.15131,
    "h": 114
  },
  "luminance": 0.35826
}

Semantic roles & 50–950 ramp

primary
#9FA91B
secondary
#5F58C8
accent
#39EF45
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA91B

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

Preview Lab → · Contrast checker → · Palette generator →

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