#9FA337#9FA337

#9FA337 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.129 H 111.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9FA337
RGBrgb(159, 163, 55)
HSLhsl(62, 50%, 43%)
HSVhsv(62, 66%, 64%)
CMYKcmyk(2.5%, 0%, 66.3%, 36.1%)
CIE-LABlab(64.84, -15.40, 53.34)
CIE-LCHlch(64.84, 55.52, 106.11°)
OKLaboklab(69.16% -0.0471 0.1203)
OKLCHoklch(69.16% 0.129 111.4)
XYZxyz(28.0857, 33.8418, 8.6663)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA337 #3B37A3
analogous
#A37137 #9FA337 #69A337
triadic
#9FA337 #379FA3 #A3379F
tetradic
#9FA337 #37A371 #3B37A3 #A33769
square
#9FA337 #37A371 #3B37A3 #A33769
split-complementary
#9FA337 #3769A3 #7137A3
monochromatic
#464718 #727528 #9FA337 #C1C552 #D1D480

Accessibility & contrast

On white

2.70
#9FA337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9FA337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA337
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA337#FFFFFF#000000##000000
##9FA3371.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C28
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#AA998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa337;
/* rgb */ color: rgb(159, 163, 55);
/* oklch */ color: oklch(69.2% 0.129 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe74',
    500: '#9fa337',
    950: '#000000',
  },
}
SCSS
$custom: #9fa337;
$custom-light: #bebe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa337",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 62.222,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69156,
    "c": 0.12916,
    "h": 111.4
  },
  "luminance": 0.33841
}

Semantic roles & 50–950 ramp

primary
#9FA337
secondary
#7B78BE
accent
#4FD954
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA337

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

Preview Lab → · Contrast checker → · Palette generator →

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