#9FA427#9FA427

#9FA427 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.141 H 111.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9FA427
RGBrgb(159, 164, 39)
HSLhsl(62, 62%, 40%)
HSVhsv(62, 76%, 64%)
CMYKcmyk(3%, 0%, 76.2%, 35.7%)
CIE-LABlab(65.02, -16.75, 59.48)
CIE-LCHlch(65.02, 61.79, 105.73°)
OKLaboklab(69.27% -0.0524 0.1304)
OKLCHoklch(69.27% 0.141 111.9)
XYZxyz(27.9407, 34.0690, 7.0232)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA427 #2C27A4
analogous
#A46B27 #9FA427 #61A427
triadic
#9FA427 #279FA4 #A4279F
tetradic
#9FA427 #27A46B #2C27A4 #A42761
square
#9FA427 #27A46B #2C27A4 #A42761
split-complementary
#9FA427 #2761A4 #6B27A4
monochromatic
#3F410F #6F731B #9FA427 #CAD038 #D7DC6A

Accessibility & contrast

On white

2.69
#9FA427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#9FA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA427
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA427#FFFFFF#000000##000000
##9FA4271.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C07
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#AA9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa427;
/* rgb */ color: rgb(159, 164, 39);
/* oklch */ color: oklch(69.3% 0.141 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfbe6c',
    500: '#9fa427',
    950: '#000000',
  },
}
SCSS
$custom: #9fa427;
$custom-light: #bfbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa427",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 62.4,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69268,
    "c": 0.14056,
    "h": 111.9
  },
  "luminance": 0.34068
}

Semantic roles & 50–950 ramp

primary
#9FA427
secondary
#6965C2
accent
#43E54A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA427

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

Preview Lab → · Contrast checker → · Palette generator →

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