#9FA532#9FA532

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

Color values

HEX#9FA532
RGBrgb(159, 165, 50)
HSLhsl(63, 53%, 42%)
HSVhsv(63, 70%, 65%)
CMYKcmyk(3.6%, 0%, 69.7%, 35.3%)
CIE-LABlab(65.37, -16.73, 55.88)
CIE-LCHlch(65.37, 58.33, 106.66°)
OKLaboklab(69.57% -0.0513 0.1248)
OKLCHoklch(69.57% 0.135 112.4)
XYZxyz(28.3298, 34.5121, 8.1862)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA532 #3832A5
analogous
#A57132 #9FA532 #66A532
triadic
#9FA532 #329FA5 #A5329F
tetradic
#9FA532 #32A571 #3832A5 #A53266
square
#9FA532 #32A571 #3832A5 #A53266
split-complementary
#9FA532 #3266A5 #7132A5
monochromatic
#444716 #727624 #9FA532 #C2C94C #D2D77B

Accessibility & contrast

On white

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

On black

7.90
#9FA532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA532
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA532#FFFFFF#000000##000000
##9FA5321.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa532;
/* rgb */ color: rgb(159, 165, 50);
/* oklch */ color: oklch(69.6% 0.135 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf71',
    500: '#9fa532',
    950: '#000000',
  },
}
SCSS
$custom: #9fa532;
$custom-light: #bebf71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa532",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 63.13,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69569,
    "c": 0.13492,
    "h": 112.4
  },
  "luminance": 0.34511
}

Semantic roles & 50–950 ramp

primary
#9FA532
secondary
#7773BF
accent
#4BDD53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA532

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

Preview Lab → · Contrast checker → · Palette generator →

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