#9FA627#9FA627

#9FA627 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.143 H 112.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9FA627
RGBrgb(159, 166, 39)
HSLhsl(63, 62%, 40%)
HSVhsv(63, 77%, 65%)
CMYKcmyk(4.2%, 0%, 76.5%, 34.9%)
CIE-LABlab(65.59, -17.78, 60.00)
CIE-LCHlch(65.59, 62.58, 106.50°)
OKLaboklab(69.72% -0.0553 0.1315)
OKLCHoklch(69.72% 0.143 112.8)
XYZxyz(28.3014, 34.7905, 7.1434)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA627 #2E27A6
analogous
#A66D27 #9FA627 #60A627
triadic
#9FA627 #279FA6 #A6279F
tetradic
#9FA627 #27A66D #2E27A6 #A62760
square
#9FA627 #27A66D #2E27A6 #A62760
split-complementary
#9FA627 #2760A6 #6D27A6
monochromatic
#404310 #70741B #9FA627 #C8D13A #D6DC6B

Accessibility & contrast

On white

2.64
#9FA627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9FA627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA627
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA627#FFFFFF#000000##000000
##9FA6271.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#AA9C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa627;
/* rgb */ color: rgb(159, 166, 39);
/* oklch */ color: oklch(69.7% 0.143 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06c',
    500: '#9fa627',
    950: '#000000',
  },
}
SCSS
$custom: #9fa627;
$custom-light: #bfc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa627",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 63.307,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.14267,
    "h": 112.8
  },
  "luminance": 0.3479
}

Semantic roles & 50–950 ramp

primary
#9FA627
secondary
#6B66C3
accent
#43E54C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA627

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

Preview Lab → · Contrast checker → · Palette generator →

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