#9FA327#9FA327

#9FA327 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.140 H 111.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9FA327
RGBrgb(159, 163, 39)
HSLhsl(62, 61%, 40%)
HSVhsv(62, 76%, 64%)
CMYKcmyk(2.5%, 0%, 76.1%, 36.1%)
CIE-LABlab(64.73, -16.24, 59.21)
CIE-LCHlch(64.73, 61.40, 105.34°)
OKLaboklab(69.04% -0.051 0.1299)
OKLCHoklch(69.04% 0.14 111.4)
XYZxyz(27.7624, 33.7125, 6.9638)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA327 #2B27A3
analogous
#A36927 #9FA327 #61A327
triadic
#9FA327 #279FA3 #A3279F
tetradic
#9FA327 #27A369 #2B27A3 #A32761
square
#9FA327 #27A369 #2B27A3 #A32761
split-complementary
#9FA327 #2761A3 #6927A3
monochromatic
#3F400F #6F721B #9FA327 #CACF38 #D7DB69

Accessibility & contrast

On white

2.71
#9FA327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9FA327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA327
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA327#FFFFFF#000000##000000
##9FA3271.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa327;
/* rgb */ color: rgb(159, 163, 39);
/* oklch */ color: oklch(69.0% 0.140 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6c',
    500: '#9fa327',
    950: '#000000',
  },
}
SCSS
$custom: #9fa327;
$custom-light: #bfbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa327",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 61.935,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.13952,
    "h": 111.4
  },
  "luminance": 0.33712
}

Semantic roles & 50–950 ramp

primary
#9FA327
secondary
#6764C1
accent
#43E449
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA327

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

Preview Lab → · Contrast checker → · Palette generator →

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