#9FA052#9FA052

#9FA052 is a light, moderate yellow. Relative luminance 0.331; OKLCH L 68.8% C 0.101 H 109.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9FA052
RGBrgb(159, 160, 82)
HSLhsl(61, 32%, 47%)
HSVhsv(61, 49%, 63%)
CMYKcmyk(0.6%, 0%, 48.8%, 37.3%)
CIE-LABlab(64.26, -11.71, 40.20)
CIE-LCHlch(64.26, 41.87, 106.24°)
OKLaboklab(68.78% -0.0337 0.0955)
OKLCHoklch(68.78% 0.101 109.4)
XYZxyz(28.3925, 33.1224, 12.8786)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA052 #5352A0
analogous
#A07A52 #9FA052 #78A052
triadic
#9FA052 #529FA0 #A0529F
tetradic
#9FA052 #52A07A #5352A0 #A05278
square
#9FA052 #52A07A #5352A0 #A05278
split-complementary
#9FA052 #5278A0 #7A52A0
monochromatic
#4F4F29 #77783D #9FA052 #B8B976 #CDCE9F

Accessibility & contrast

On white

2.75
#9FA052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9FA052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA052
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA052#FFFFFF#000000##000000
##9FA0521.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4B
Deuteranopia (green-blind)
#AC9D56
Tritanopia (blue-blind)
#A8988E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa052;
/* rgb */ color: rgb(159, 160, 82);
/* oklch */ color: oklch(68.8% 0.101 109.4);
Tailwind
colors: {
  custom: {
    50: '#bdbc84',
    500: '#9fa052',
    950: '#000000',
  },
}
SCSS
$custom: #9fa052;
$custom-light: #bdbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa052",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 60.769,
    "s": 32.231,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68782,
    "c": 0.10124,
    "h": 109.4
  },
  "luminance": 0.33122
}

Semantic roles & 50–950 ramp

primary
#9FA052
secondary
#9493BB
accent
#5FC861
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9FA052

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

Preview Lab → · Contrast checker → · Palette generator →

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