#9FA939#9FA939

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

Color values

HEX#9FA939
RGBrgb(159, 169, 57)
HSLhsl(65, 50%, 44%)
HSVhsv(65, 66%, 66%)
CMYKcmyk(5.9%, 0%, 66.3%, 33.7%)
CIE-LABlab(66.55, -18.35, 54.29)
CIE-LCHlch(66.55, 57.31, 108.68°)
OKLaboklab(70.53% -0.0552 0.1226)
OKLCHoklch(70.53% 0.134 114.2)
XYZxyz(29.2253, 36.0428, 9.2875)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA939 #4339A9
analogous
#A97B39 #9FA939 #67A939
triadic
#9FA939 #399FA9 #A9399F
tetradic
#9FA939 #39A97B #4339A9 #A93967
square
#9FA939 #39A97B #4339A9 #A93967
split-complementary
#9FA939 #3967A9 #7B39A9
monochromatic
#494D1A #747B2A #9FA939 #BDC758 #CFD686

Accessibility & contrast

On white

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

On black

8.21
#9FA939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA939
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA939#FFFFFF#000000##000000
##9FA9391.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa939;
/* rgb */ color: rgb(159, 169, 57);
/* oklch */ color: oklch(70.5% 0.134 114.2);
Tailwind
colors: {
  custom: {
    50: '#bec276',
    500: '#9fa939',
    950: '#000000',
  },
}
SCSS
$custom: #9fa939;
$custom-light: #bec276;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa939",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 65.357,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.13442,
    "h": 114.2
  },
  "luminance": 0.36042
}

Semantic roles & 50–950 ramp

primary
#9FA939
secondary
#847EC0
accent
#4FD95B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA939

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

Preview Lab → · Contrast checker → · Palette generator →

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