#9FAC27#9FAC27

#9FAC27 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.149 H 115.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9FAC27
RGBrgb(159, 172, 39)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(7.6%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.29, -20.81, 61.57)
CIE-LCHlch(67.29, 64.99, 108.68°)
OKLaboklab(71.09% -0.0637 0.1349)
OKLCHoklch(71.09% 0.149 115.3)
XYZxyz(29.4177, 37.0230, 7.5155)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC27 #3427AC
analogous
#AC7727 #9FAC27 #5DAC27
triadic
#9FAC27 #279FAC #AC279F
tetradic
#9FAC27 #27AC77 #3427AC #AC275D
square
#9FAC27 #27AC77 #3427AC #AC275D
split-complementary
#9FAC27 #275DAC #7727AC
monochromatic
#434810 #717A1C #9FAC27 #C4D33D #D3DE6F

Accessibility & contrast

On white

2.50
#9FAC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9FAC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC27
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC27#FFFFFF#000000##000000
##9FAC271.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac27;
/* rgb */ color: rgb(159, 172, 39);
/* oklch */ color: oklch(71.1% 0.149 115.3);
Tailwind
colors: {
  custom: {
    50: '#bfc46d',
    500: '#9fac27',
    950: '#000000',
  },
}
SCSS
$custom: #9fac27;
$custom-light: #bfc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac27",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 65.865,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.14914,
    "h": 115.3
  },
  "luminance": 0.37022
}

Semantic roles & 50–950 ramp

primary
#9FAC27
secondary
#736AC5
accent
#42E652
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC27

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

Preview Lab → · Contrast checker → · Palette generator →

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