#9FAA27#9FAA27

#9FAA27 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.147 H 114.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9FAA27
RGBrgb(159, 170, 39)
HSLhsl(65, 63%, 41%)
HSVhsv(65, 77%, 67%)
CMYKcmyk(6.5%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.72, -19.81, 61.05)
CIE-LCHlch(66.72, 64.18, 107.98°)
OKLaboklab(70.64% -0.0609 0.1338)
OKLCHoklch(70.64% 0.147 114.5)
XYZxyz(29.0399, 36.2674, 7.3896)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA27 #3227AA
analogous
#AA7327 #9FAA27 #5DAA27
triadic
#9FAA27 #279FAA #AA279F
tetradic
#9FAA27 #27AA73 #3227AA #AA275D
square
#9FAA27 #27AA73 #3227AA #AA275D
split-complementary
#9FAA27 #275DAA #7327AA
monochromatic
#424610 #70781C #9FAA27 #C6D23C #D4DE6E

Accessibility & contrast

On white

2.54
#9FAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9FAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA27
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA27#FFFFFF#000000##000000
##9FAA271.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#AAA092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa27;
/* rgb */ color: rgb(159, 170, 39);
/* oklch */ color: oklch(70.6% 0.147 114.5);
Tailwind
colors: {
  custom: {
    50: '#bfc36c',
    500: '#9faa27',
    950: '#000000',
  },
}
SCSS
$custom: #9faa27;
$custom-light: #bfc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa27",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 65.038,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70635,
    "c": 0.14697,
    "h": 114.5
  },
  "luminance": 0.36267
}

Semantic roles & 50–950 ramp

primary
#9FAA27
secondary
#7069C4
accent
#42E650
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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