#9DB162#9DB162

#9DB162 is a light, moderate yellow-green. Relative luminance 0.395; OKLCH L 72.7% C 0.107 H 120.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#9DB162
RGBrgb(157, 177, 98)
HSLhsl(75, 34%, 54%)
HSVhsv(75, 45%, 69%)
CMYKcmyk(11.3%, 0%, 44.6%, 30.6%)
CIE-LABlab(69.11, -19.62, 38.00)
CIE-LCHlch(69.11, 42.77, 117.31°)
OKLaboklab(72.68% -0.0546 0.0918)
OKLCHoklch(72.68% 0.107 120.8)
XYZxyz(31.8315, 39.4943, 17.4991)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB162 #7662B1
analogous
#B19E62 #9DB162 #76B162
triadic
#9DB162 #629DB1 #B1629D
tetradic
#9DB162 #62B19E #7662B1 #B16276
square
#9DB162 #62B19E #7662B1 #B16276
split-complementary
#9DB162 #6276B1 #9E62B1
monochromatic
#596633 #7D8F47 #9DB162 #B7C58B #D0DAB4

Accessibility & contrast

On white

2.36
#9DB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#9DB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB162
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB162#FFFFFF#000000##000000
##9DB1621.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA95C
Deuteranopia (green-blind)
#B7A966
Tritanopia (blue-blind)
#A3AA9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db162;
/* rgb */ color: rgb(157, 177, 98);
/* oklch */ color: oklch(72.7% 0.107 120.8);
Tailwind
colors: {
  custom: {
    50: '#bbc890',
    500: '#9db162',
    950: '#000000',
  },
}
SCSS
$custom: #9db162;
$custom-light: #bbc890;
$custom-dark: #000000;
JSON
{
  "hex": "#9db162",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 75.19,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72684,
    "c": 0.10679,
    "h": 120.8
  },
  "luminance": 0.39494
}

Semantic roles & 50–950 ramp

primary
#9DB162
secondary
#AFA7C8
accent
#5ECA79
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130D
muted
#81827D

Preview Lab

Preview with #9DB162

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

Preview Lab → · Contrast checker → · Palette generator →

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