#9DB962#9DB962

#9DB962 is a light, moderate yellow-green. Relative luminance 0.427; OKLCH L 74.5% C 0.118 H 123.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#9DB962
RGBrgb(157, 185, 98)
HSLhsl(79, 38%, 55%)
HSVhsv(79, 47%, 73%)
CMYKcmyk(15.1%, 0%, 47%, 27.5%)
CIE-LABlab(71.38, -23.61, 40.81)
CIE-LCHlch(71.38, 47.15, 120.05°)
OKLaboklab(74.51% -0.0659 0.0981)
OKLCHoklch(74.51% 0.118 123.9)
XYZxyz(33.4582, 42.7477, 18.0414)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB962 #7E62B9
analogous
#B9A962 #9DB962 #71B962
triadic
#9DB962 #629DB9 #B9629D
tetradic
#9DB962 #62B9A9 #7E62B9 #B96271
square
#9DB962 #62B9A9 #7E62B9 #B96271
split-complementary
#9DB962 #6271B9 #A962B9
monochromatic
#5B6F32 #7E9944 #9DB962 #B7CC8C #D2DFB7

Accessibility & contrast

On white

2.20
#9DB962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#9DB962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB962
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB962#FFFFFF#000000##000000
##9DB9621.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#BEAF67
Tritanopia (blue-blind)
#A3B2A5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9db962;
/* rgb */ color: rgb(157, 185, 98);
/* oklch */ color: oklch(74.5% 0.118 123.9);
Tailwind
colors: {
  custom: {
    50: '#bbce90',
    500: '#9db962',
    950: '#000000',
  },
}
SCSS
$custom: #9db962;
$custom-light: #bbce90;
$custom-dark: #000000;
JSON
{
  "hex": "#9db962",
  "rgb": {
    "r": 157,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 79.31,
    "s": 38.326,
    "l": 55.49
  },
  "oklch": {
    "l": 0.74509,
    "c": 0.11812,
    "h": 123.9
  },
  "luminance": 0.42748
}

Semantic roles & 50–950 ramp

primary
#9DB962
secondary
#B5A9CE
accent
#5ACE7F
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12130D
muted
#81827D

Preview Lab

Preview with #9DB962

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

Preview Lab → · Contrast checker → · Palette generator →

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