#9FA727#9FA727

#9FA727 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.144 H 113.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9FA727
RGBrgb(159, 167, 39)
HSLhsl(64, 62%, 40%)
HSVhsv(64, 77%, 65%)
CMYKcmyk(4.8%, 0%, 76.6%, 34.5%)
CIE-LABlab(65.87, -18.29, 60.26)
CIE-LCHlch(65.87, 62.98, 106.88°)
OKLaboklab(69.95% -0.0567 0.1321)
OKLCHoklch(69.95% 0.144 113.2)
XYZxyz(28.4839, 35.1555, 7.2043)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA727 #2F27A7
analogous
#A76F27 #9FA727 #5FA727
triadic
#9FA727 #279FA7 #A7279F
tetradic
#9FA727 #27A76F #2F27A7 #A7275F
square
#9FA727 #27A76F #2F27A7 #A7275F
split-complementary
#9FA727 #275FA7 #6F27A7
monochromatic
#414410 #70751B #9FA727 #C8D13A #D6DD6C

Accessibility & contrast

On white

2.61
#9FA727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#9FA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA727
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA727#FFFFFF#000000##000000
##9FA7271.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa727;
/* rgb */ color: rgb(159, 167, 39);
/* oklch */ color: oklch(70.0% 0.144 113.2);
Tailwind
colors: {
  custom: {
    50: '#bfc06c',
    500: '#9fa727',
    950: '#000000',
  },
}
SCSS
$custom: #9fa727;
$custom-light: #bfc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa727",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 63.75,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69951,
    "c": 0.14374,
    "h": 113.2
  },
  "luminance": 0.35155
}

Semantic roles & 50–950 ramp

primary
#9FA727
secondary
#6D67C3
accent
#43E54D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA727

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

Preview Lab → · Contrast checker → · Palette generator →

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