#9FA027#9FA027

#9FA027 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.136 H 110.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9FA027
RGBrgb(159, 160, 39)
HSLhsl(60, 61%, 39%)
HSVhsv(60, 76%, 63%)
CMYKcmyk(0.6%, 0%, 75.6%, 37.3%)
CIE-LABlab(63.88, -14.69, 58.43)
CIE-LCHlch(63.88, 60.25, 104.11°)
OKLaboklab(68.36% -0.0467 0.1282)
OKLCHoklch(68.36% 0.136 110)
XYZxyz(27.2361, 32.6598, 6.7883)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA027 #2827A0
analogous
#A06527 #9FA027 #63A027
triadic
#9FA027 #279FA0 #A0279F
tetradic
#9FA027 #27A065 #2827A0 #A02763
square
#9FA027 #27A065 #2827A0 #A02763
split-complementary
#9FA027 #2763A0 #6527A0
monochromatic
#3D3E0F #6E6F1B #9FA027 #CDCE36 #D9DA67

Accessibility & contrast

On white

2.79
#9FA027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9FA027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA027
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA027#FFFFFF#000000##000000
##9FA0271.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990A
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#AB9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa027;
/* rgb */ color: rgb(159, 160, 39);
/* oklch */ color: oklch(68.4% 0.136 110.0);
Tailwind
colors: {
  custom: {
    50: '#bfbb6b',
    500: '#9fa027',
    950: '#000000',
  },
}
SCSS
$custom: #9fa027;
$custom-light: #bfbb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa027",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 60.496,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68362,
    "c": 0.13642,
    "h": 110
  },
  "luminance": 0.32659
}

Semantic roles & 50–950 ramp

primary
#9FA027
secondary
#6463C0
accent
#44E445
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA027

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

Preview Lab → · Contrast checker → · Palette generator →

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