#9FA276#9FA276

#9FA276 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.061 H 111.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9FA276
RGBrgb(159, 162, 118)
HSLhsl(64, 19%, 55%)
HSVhsv(64, 27%, 64%)
CMYKcmyk(1.9%, 0%, 27.2%, 36.5%)
CIE-LABlab(65.37, -8.48, 22.60)
CIE-LCHlch(65.37, 24.13, 110.56°)
OKLaboklab(69.85% -0.022 0.0569)
OKLCHoklch(69.85% 0.061 111.1)
XYZxyz(30.4884, 34.5199, 22.1929)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA276 #7976A2
analogous
#A28F76 #9FA276 #89A276
triadic
#9FA276 #769FA2 #A2769F
tetradic
#9FA276 #76A28F #7976A2 #A27689
square
#9FA276 #76A28F #7976A2 #A27689
split-complementary
#9FA276 #7689A2 #8F76A2
monochromatic
#5C5E40 #7F8258 #9FA276 #B9BB9A #D2D3BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA276#FFFFFF#000000##000000
##9FA2761.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)
#A99E73
Deuteranopia (green-blind)
#A99F78
Tritanopia (blue-blind)
#A59D96
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa276;
/* rgb */ color: rgb(159, 162, 118);
/* oklch */ color: oklch(69.8% 0.061 111.1);
Tailwind
colors: {
  custom: {
    50: '#bcbd9d',
    500: '#9fa276',
    950: '#000000',
  },
}
SCSS
$custom: #9fa276;
$custom-light: #bcbd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa276",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 118
  },
  "hsl": {
    "h": 64.091,
    "s": 19.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.69849,
    "c": 0.06095,
    "h": 111.1
  },
  "luminance": 0.3452
}

Semantic roles & 50–950 ramp

primary
#9FA276
secondary
#B2B1C3
accent
#6CBC71
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA276

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

Preview Lab → · Contrast checker → · Palette generator →

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