#9FA527#9FA527

#9FA527 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.142 H 112.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9FA527
RGBrgb(159, 165, 39)
HSLhsl(63, 62%, 40%)
HSVhsv(63, 76%, 65%)
CMYKcmyk(3.6%, 0%, 76.4%, 35.3%)
CIE-LABlab(65.30, -17.27, 59.74)
CIE-LCHlch(65.30, 62.18, 106.12°)
OKLaboklab(69.49% -0.0538 0.131)
OKLCHoklch(69.49% 0.142 112.3)
XYZxyz(28.1203, 34.4284, 7.0831)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA527 #2D27A5
analogous
#A56C27 #9FA527 #60A527
triadic
#9FA527 #279FA5 #A5279F
tetradic
#9FA527 #27A56C #2D27A5 #A52760
square
#9FA527 #27A56C #2D27A5 #A52760
split-complementary
#9FA527 #2760A5 #6C27A5
monochromatic
#404210 #6F741B #9FA527 #C9D039 #D7DC6A

Accessibility & contrast

On white

2.66
#9FA527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#9FA527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA527
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA527#FFFFFF#000000##000000
##9FA5271.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#AA9B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa527;
/* rgb */ color: rgb(159, 165, 39);
/* oklch */ color: oklch(69.5% 0.142 112.3);
Tailwind
colors: {
  custom: {
    50: '#bfbf6c',
    500: '#9fa527',
    950: '#000000',
  },
}
SCSS
$custom: #9fa527;
$custom-light: #bfbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa527",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 62.857,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.69495,
    "c": 0.14162,
    "h": 112.3
  },
  "luminance": 0.34428
}

Semantic roles & 50–950 ramp

primary
#9FA527
secondary
#6A66C2
accent
#43E54B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA527

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

Preview Lab → · Contrast checker → · Palette generator →

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