#9FA952#9FA952

#9FA952 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 70.8% C 0.112 H 114.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9FA952
RGBrgb(159, 169, 82)
HSLhsl(67, 35%, 49%)
HSVhsv(67, 51%, 66%)
CMYKcmyk(5.9%, 0%, 51.5%, 33.7%)
CIE-LABlab(66.79, -16.39, 43.22)
CIE-LCHlch(66.79, 46.22, 110.77°)
OKLaboklab(70.8% -0.047 0.1021)
OKLCHoklch(70.8% 0.112 114.7)
XYZxyz(30.0095, 36.3565, 13.4176)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA952 #5C52A9
analogous
#A98852 #9FA952 #74A952
triadic
#9FA952 #529FA9 #A9529F
tetradic
#9FA952 #52A988 #5C52A9 #A95274
square
#9FA952 #52A988 #5C52A9 #A95274
split-complementary
#9FA952 #5274A9 #8852A9
monochromatic
#51572A #78803E #9FA952 #B6BE7A #CDD2A3

Accessibility & contrast

On white

2.54
#9FA952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9FA952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA952
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA952#FFFFFF#000000##000000
##9FA9521.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24A
Deuteranopia (green-blind)
#B3A357
Tritanopia (blue-blind)
#A8A195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa952;
/* rgb */ color: rgb(159, 169, 82);
/* oklch */ color: oklch(70.8% 0.112 114.7);
Tailwind
colors: {
  custom: {
    50: '#bdc285',
    500: '#9fa952',
    950: '#000000',
  },
}
SCSS
$custom: #9fa952;
$custom-light: #bdc285;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa952",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 66.897,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70802,
    "c": 0.11237,
    "h": 114.7
  },
  "luminance": 0.36356
}

Semantic roles & 50–950 ramp

primary
#9FA952
secondary
#9C97C0
accent
#5DCB6A
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA952

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

Preview Lab → · Contrast checker → · Palette generator →

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