#9FA752#9FA752

#9FA752 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.110 H 113.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9FA752
RGBrgb(159, 167, 82)
HSLhsl(66, 34%, 49%)
HSVhsv(66, 51%, 65%)
CMYKcmyk(4.8%, 0%, 50.9%, 34.5%)
CIE-LABlab(66.23, -15.36, 42.55)
CIE-LCHlch(66.23, 45.24, 109.85°)
OKLaboklab(70.35% -0.0441 0.1006)
OKLCHoklch(70.35% 0.11 113.7)
XYZxyz(29.6403, 35.6180, 13.2945)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA752 #5A52A7
analogous
#A78552 #9FA752 #75A752
triadic
#9FA752 #529FA7 #A7529F
tetradic
#9FA752 #52A785 #5A52A7 #A75275
square
#9FA752 #52A785 #5A52A7 #A75275
split-complementary
#9FA752 #5275A7 #8552A7
monochromatic
#51552A #787E3E #9FA752 #B7BD79 #CDD1A2

Accessibility & contrast

On white

2.59
#9FA752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9FA752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA752
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA752#FFFFFF#000000##000000
##9FA7521.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#A89F94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa752;
/* rgb */ color: rgb(159, 167, 82);
/* oklch */ color: oklch(70.4% 0.110 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdc185',
    500: '#9fa752',
    950: '#000000',
  },
}
SCSS
$custom: #9fa752;
$custom-light: #bdc185;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa752",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 82
  },
  "hsl": {
    "h": 65.647,
    "s": 34.137,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.10984,
    "h": 113.7
  },
  "luminance": 0.35618
}

Semantic roles & 50–950 ramp

primary
#9FA752
secondary
#9A96BF
accent
#5ECA68
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA752

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

Preview Lab → · Contrast checker → · Palette generator →

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