#9FA352#9FA352

#9FA352 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.105 H 111.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9FA352
RGBrgb(159, 163, 82)
HSLhsl(63, 33%, 48%)
HSVhsv(63, 50%, 64%)
CMYKcmyk(2.5%, 0%, 49.7%, 36.1%)
CIE-LABlab(65.10, -13.28, 41.21)
CIE-LCHlch(65.10, 43.30, 107.86°)
OKLaboklab(69.45% -0.0382 0.0977)
OKLCHoklch(69.45% 0.105 111.4)
XYZxyz(28.9188, 34.1751, 13.0541)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA352 #5652A3
analogous
#A37E52 #9FA352 #76A352
triadic
#9FA352 #529FA3 #A3529F
tetradic
#9FA352 #52A37E #5652A3 #A35276
square
#9FA352 #52A37E #5652A3 #A35276
split-complementary
#9FA352 #5276A3 #7E52A3
monochromatic
#505229 #777A3E #9FA352 #B7BB77 #CDCFA0

Accessibility & contrast

On white

2.68
#9FA352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9FA352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA352
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA352#FFFFFF#000000##000000
##9FA3521.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4B
Deuteranopia (green-blind)
#AE9F56
Tritanopia (blue-blind)
#A89B90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa352;
/* rgb */ color: rgb(159, 163, 82);
/* oklch */ color: oklch(69.5% 0.105 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbe85',
    500: '#9fa352',
    950: '#000000',
  },
}
SCSS
$custom: #9fa352;
$custom-light: #bdbe85;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa352",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 82
  },
  "hsl": {
    "h": 62.963,
    "s": 33.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.10488,
    "h": 111.4
  },
  "luminance": 0.34175
}

Semantic roles & 50–950 ramp

primary
#9FA352
secondary
#9694BC
accent
#5FC964
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA352

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

Preview Lab → · Contrast checker → · Palette generator →

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