#9FA162#9FA162

#9FA162 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.085 H 110.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9FA162
RGBrgb(159, 161, 98)
HSLhsl(62, 25%, 51%)
HSVhsv(62, 39%, 63%)
CMYKcmyk(1.2%, 0%, 39.1%, 36.9%)
CIE-LABlab(64.76, -10.53, 32.56)
CIE-LCHlch(64.76, 34.22, 107.93°)
OKLaboklab(69.25% -0.0289 0.0795)
OKLCHoklch(69.25% 0.085 110)
XYZxyz(29.2479, 33.7430, 16.5252)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA162 #6462A1
analogous
#A18362 #9FA162 #7FA162
triadic
#9FA162 #629FA1 #A1629F
tetradic
#9FA162 #62A183 #6462A1 #A1627F
square
#9FA162 #62A183 #6462A1 #A1627F
split-complementary
#9FA162 #627FA1 #8362A1
monochromatic
#545533 #7A7C4A #9FA162 #B6B888 #CECFAF

Accessibility & contrast

On white

2.71
#9FA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9FA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA162
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA162#FFFFFF#000000##000000
##9FA1621.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5D
Deuteranopia (green-blind)
#AB9E65
Tritanopia (blue-blind)
#A79A91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa162;
/* rgb */ color: rgb(159, 161, 98);
/* oklch */ color: oklch(69.3% 0.085 110.0);
Tailwind
colors: {
  custom: {
    50: '#bcbc8f',
    500: '#9fa162',
    950: '#000000',
  },
}
SCSS
$custom: #9fa162;
$custom-light: #bcbc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa162",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 61.905,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.08455,
    "h": 110
  },
  "luminance": 0.33743
}

Semantic roles & 50–950 ramp

primary
#9FA162
secondary
#A2A1BD
accent
#66C269
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA162

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

Preview Lab → · Contrast checker → · Palette generator →

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