#9FA937#9FA937

#9FA937 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.136 H 114.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9FA937
RGBrgb(159, 169, 55)
HSLhsl(65, 51%, 44%)
HSVhsv(65, 67%, 66%)
CMYKcmyk(5.9%, 0%, 67.5%, 33.7%)
CIE-LABlab(66.54, -18.48, 55.09)
CIE-LCHlch(66.54, 58.10, 108.54°)
OKLaboklab(70.52% -0.0557 0.1239)
OKLCHoklch(70.52% 0.136 114.2)
XYZxyz(29.1764, 36.0232, 9.0299)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA937 #4137A9
analogous
#A97A37 #9FA937 #66A937
triadic
#9FA937 #379FA9 #A9379F
tetradic
#9FA937 #37A97A #4137A9 #A93766
square
#9FA937 #37A97A #4137A9 #A93766
split-complementary
#9FA937 #3766A9 #7A37A9
monochromatic
#484D19 #747B28 #9FA937 #BEC855 #D0D784

Accessibility & contrast

On white

2.56
#9FA937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9FA937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA937
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA937#FFFFFF#000000##000000
##9FA9371.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A126
Deuteranopia (green-blind)
#B5A33F
Tritanopia (blue-blind)
#A99F92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa937;
/* rgb */ color: rgb(159, 169, 55);
/* oklch */ color: oklch(70.5% 0.136 114.2);
Tailwind
colors: {
  custom: {
    50: '#bec274',
    500: '#9fa937',
    950: '#000000',
  },
}
SCSS
$custom: #9fa937;
$custom-light: #bec274;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa937",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 65.263,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70518,
    "c": 0.13588,
    "h": 114.2
  },
  "luminance": 0.36023
}

Semantic roles & 50–950 ramp

primary
#9FA937
secondary
#817BC0
accent
#4DDA5A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA937

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

Preview Lab → · Contrast checker → · Palette generator →

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