#9FA663#9FA663

#9FA663 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.090 H 113.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9FA663
RGBrgb(159, 166, 99)
HSLhsl(66, 27%, 52%)
HSVhsv(66, 40%, 65%)
CMYKcmyk(4.2%, 0%, 40.4%, 34.9%)
CIE-LABlab(66.17, -13.05, 33.83)
CIE-LCHlch(66.17, 36.25, 111.09°)
OKLaboklab(70.38% -0.036 0.0824)
OKLCHoklch(70.38% 0.09 113.6)
XYZxyz(30.1867, 35.5446, 17.0725)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA663 #6A63A6
analogous
#A68C63 #9FA663 #7EA663
triadic
#9FA663 #639FA6 #A6639F
tetradic
#9FA663 #63A68C #6A63A6 #A6637E
square
#9FA663 #63A68C #6A63A6 #A6637E
split-complementary
#9FA663 #637EA6 #8C63A6
monochromatic
#575B34 #7C824A #9FA663 #B7BC8A #CFD2B1

Accessibility & contrast

On white

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

On black

8.11
#9FA663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA663
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA663#FFFFFF#000000##000000
##9FA6631.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05E
Deuteranopia (green-blind)
#AFA266
Tritanopia (blue-blind)
#A69F96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa663;
/* rgb */ color: rgb(159, 166, 99);
/* oklch */ color: oklch(70.4% 0.090 113.6);
Tailwind
colors: {
  custom: {
    50: '#bcc090',
    500: '#9fa663',
    950: '#000000',
  },
}
SCSS
$custom: #9fa663;
$custom-light: #bcc090;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa663",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 99
  },
  "hsl": {
    "h": 66.269,
    "s": 27.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70379,
    "c": 0.08992,
    "h": 113.6
  },
  "luminance": 0.35544
}

Semantic roles & 50–950 ramp

primary
#9FA663
secondary
#A7A4C1
accent
#64C46E
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA663

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

Preview Lab → · Contrast checker → · Palette generator →

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