#9FA562#9FA562

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

Color values

HEX#9FA562
RGBrgb(159, 165, 98)
HSLhsl(65, 27%, 52%)
HSVhsv(65, 41%, 65%)
CMYKcmyk(3.6%, 0%, 40.6%, 35.3%)
CIE-LABlab(65.88, -12.64, 33.98)
CIE-LCHlch(65.88, 36.25, 110.41°)
OKLaboklab(70.14% -0.0349 0.0827)
OKLCHoklch(70.14% 0.09 112.9)
XYZxyz(29.9581, 35.1635, 16.7620)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA562 #6862A5
analogous
#A58A62 #9FA562 #7EA562
triadic
#9FA562 #629FA5 #A5629F
tetradic
#9FA562 #62A58A #6862A5 #A5627E
square
#9FA562 #62A58A #6862A5 #A5627E
split-complementary
#9FA562 #627EA5 #8A62A5
monochromatic
#565933 #7B804A #9FA562 #B7BB89 #CFD2B0

Accessibility & contrast

On white

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

On black

8.03
#9FA562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA562
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA562#FFFFFF#000000##000000
##9FA5621.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#A79E95
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa562;
/* rgb */ color: rgb(159, 165, 98);
/* oklch */ color: oklch(70.1% 0.090 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbf90',
    500: '#9fa562',
    950: '#000000',
  },
}
SCSS
$custom: #9fa562;
$custom-light: #bcbf90;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa562",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 65.373,
    "s": 27.126,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.08976,
    "h": 112.9
  },
  "luminance": 0.35163
}

Semantic roles & 50–950 ramp

primary
#9FA562
secondary
#A5A3C0
accent
#64C36D
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA562

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

Preview Lab → · Contrast checker → · Palette generator →

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