#9FA651#9FA651

#9FA651 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.110 H 113.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9FA651
RGBrgb(159, 166, 81)
HSLhsl(65, 34%, 48%)
HSVhsv(65, 51%, 65%)
CMYKcmyk(4.2%, 0%, 51.2%, 34.9%)
CIE-LABlab(65.93, -14.94, 42.69)
CIE-LCHlch(65.93, 45.23, 109.28°)
OKLaboklab(70.11% -0.043 0.1008)
OKLCHoklch(70.11% 0.11 113.1)
XYZxyz(29.4200, 35.2379, 13.0348)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA651 #5851A6
analogous
#A68251 #9FA651 #74A651
triadic
#9FA651 #519FA6 #A6519F
tetradic
#9FA651 #51A682 #5851A6 #A65174
square
#9FA651 #51A682 #5851A6 #A65174
split-complementary
#9FA651 #5174A6 #8251A6
monochromatic
#505429 #787D3D #9FA651 #B7BD77 #CDD1A1

Accessibility & contrast

On white

2.61
#9FA651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9FA651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA651
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA651#FFFFFF#000000##000000
##9FA6511.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F49
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#A89E93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa651;
/* rgb */ color: rgb(159, 166, 81);
/* oklch */ color: oklch(70.1% 0.110 113.1);
Tailwind
colors: {
  custom: {
    50: '#bdc084',
    500: '#9fa651',
    950: '#000000',
  },
}
SCSS
$custom: #9fa651;
$custom-light: #bdc084;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa651",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 81
  },
  "hsl": {
    "h": 64.941,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70113,
    "c": 0.10961,
    "h": 113.1
  },
  "luminance": 0.35237
}

Semantic roles & 50–950 ramp

primary
#9FA651
secondary
#9895BE
accent
#5DCA66
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA651

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

Preview Lab → · Contrast checker → · Palette generator →

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