#9FA537#9FA537

#9FA537 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.131 H 112.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9FA537
RGBrgb(159, 165, 55)
HSLhsl(63, 50%, 43%)
HSVhsv(63, 67%, 65%)
CMYKcmyk(3.6%, 0%, 66.7%, 35.3%)
CIE-LABlab(65.40, -16.43, 53.93)
CIE-LCHlch(65.40, 56.37, 106.95°)
OKLaboklab(69.61% -0.05 0.1215)
OKLCHoklch(69.61% 0.131 112.4)
XYZxyz(28.4436, 34.5577, 8.7856)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA537 #3D37A5
analogous
#A57437 #9FA537 #68A537
triadic
#9FA537 #379FA5 #A5379F
tetradic
#9FA537 #37A574 #3D37A5 #A53768
square
#9FA537 #37A574 #3D37A5 #A53768
split-complementary
#9FA537 #3768A5 #7437A5
monochromatic
#474918 #737728 #9FA537 #C0C653 #D1D581

Accessibility & contrast

On white

2.65
#9FA537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#9FA537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA537
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA537#FFFFFF#000000##000000
##9FA5371.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D27
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#AA9B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa537;
/* rgb */ color: rgb(159, 165, 55);
/* oklch */ color: oklch(69.6% 0.131 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf74',
    500: '#9fa537',
    950: '#000000',
  },
}
SCSS
$custom: #9fa537;
$custom-light: #bebf74;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa537",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 63.273,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69609,
    "c": 0.13138,
    "h": 112.4
  },
  "luminance": 0.34557
}

Semantic roles & 50–950 ramp

primary
#9FA537
secondary
#7D79BF
accent
#4EDA56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA537

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

Preview Lab → · Contrast checker → · Palette generator →

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