#9FA927#9FA927

#9FA927 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.146 H 114.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9FA927
RGBrgb(159, 169, 39)
HSLhsl(65, 63%, 41%)
HSVhsv(65, 77%, 66%)
CMYKcmyk(5.9%, 0%, 76.9%, 33.7%)
CIE-LABlab(66.44, -19.30, 60.79)
CIE-LCHlch(66.44, 63.78, 107.62°)
OKLaboklab(70.41% -0.0595 0.1332)
OKLCHoklch(70.41% 0.146 114.1)
XYZxyz(28.8531, 35.8939, 7.3273)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA927 #3127A9
analogous
#A97227 #9FA927 #5EA927
triadic
#9FA927 #279FA9 #A9279F
tetradic
#9FA927 #27A972 #3127A9 #A9275E
square
#9FA927 #27A972 #3127A9 #A9275E
split-complementary
#9FA927 #275EA9 #7227A9
monochromatic
#414610 #70771C #9FA927 #C6D23B #D5DD6D

Accessibility & contrast

On white

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

On black

8.18
#9FA927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA927
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA927#FFFFFF#000000##000000
##9FA9271.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A003
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa927;
/* rgb */ color: rgb(159, 169, 39);
/* oklch */ color: oklch(70.4% 0.146 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26c',
    500: '#9fa927',
    950: '#000000',
  },
}
SCSS
$custom: #9fa927;
$custom-light: #bfc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa927",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 64.615,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70407,
    "c": 0.14588,
    "h": 114.1
  },
  "luminance": 0.35893
}

Semantic roles & 50–950 ramp

primary
#9FA927
secondary
#6F68C4
accent
#42E64F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA927

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

Preview Lab → · Contrast checker → · Palette generator →

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