#9DA162#9DA162

#9DA162 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.085 H 111.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9DA162
RGBrgb(157, 161, 98)
HSLhsl(64, 25%, 51%)
HSVhsv(64, 39%, 63%)
CMYKcmyk(2.5%, 0%, 39.1%, 36.9%)
CIE-LABlab(64.60, -11.35, 32.32)
CIE-LCHlch(64.60, 34.25, 109.36°)
OKLaboklab(69.08% -0.0311 0.0789)
OKLCHoklch(69.08% 0.085 111.5)
XYZxyz(28.8544, 33.5401, 16.5068)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA162 #6662A1
analogous
#A18562 #9DA162 #7DA162
triadic
#9DA162 #629DA1 #A1629D
tetradic
#9DA162 #62A185 #6662A1 #A1627D
square
#9DA162 #62A185 #6662A1 #A1627D
split-complementary
#9DA162 #627DA1 #8562A1
monochromatic
#535533 #797C4A #9DA162 #B5B888 #CDCFAF

Accessibility & contrast

On white

2.72
#9DA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9DA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA162
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA162#FFFFFF#000000##000000
##9DA1621.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da162;
/* rgb */ color: rgb(157, 161, 98);
/* oklch */ color: oklch(69.1% 0.085 111.5);
Tailwind
colors: {
  custom: {
    50: '#bbbc8f',
    500: '#9da162',
    950: '#000000',
  },
}
SCSS
$custom: #9da162;
$custom-light: #bbbc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9da162",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 63.81,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.69081,
    "c": 0.08485,
    "h": 111.5
  },
  "luminance": 0.3354
}

Semantic roles & 50–950 ramp

primary
#9DA162
secondary
#A3A1BD
accent
#66C26C
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9DA162

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

Preview Lab → · Contrast checker → · Palette generator →

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