#9DB252#9DB252

#9DB252 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.7% C 0.125 H 119.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#9DB252
RGBrgb(157, 178, 82)
HSLhsl(73, 38%, 51%)
HSVhsv(73, 54%, 70%)
CMYKcmyk(11.8%, 0%, 53.9%, 30.2%)
CIE-LABlab(69.20, -21.77, 46.00)
CIE-LCHlch(69.20, 50.89, 115.32°)
OKLaboklab(72.69% -0.0621 0.1081)
OKLCHoklch(72.69% 0.125 119.9)
XYZxyz(31.3483, 39.6182, 13.9766)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB252 #6752B2
analogous
#B29752 #9DB252 #6DB252
triadic
#9DB252 #529DB2 #B2529D
tetradic
#9DB252 #52B297 #6752B2 #B2526D
square
#9DB252 #52B297 #6752B2 #B2526D
split-complementary
#9DB252 #526DB2 #9752B2
monochromatic
#545F2A #798A3D #9DB252 #B5C57C #CDD8A7

Accessibility & contrast

On white

2.35
#9DB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#9DB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB252
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB252#FFFFFF#000000##000000
##9DB2521.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#B9A958
Tritanopia (blue-blind)
#A5AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db252;
/* rgb */ color: rgb(157, 178, 82);
/* oklch */ color: oklch(72.7% 0.125 119.9);
Tailwind
colors: {
  custom: {
    50: '#bcc985',
    500: '#9db252',
    950: '#000000',
  },
}
SCSS
$custom: #9db252;
$custom-light: #bcc985;
$custom-dark: #000000;
JSON
{
  "hex": "#9db252",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 73.125,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72692,
    "c": 0.12468,
    "h": 119.9
  },
  "luminance": 0.39618
}

Semantic roles & 50–950 ramp

primary
#9DB252
secondary
#A49BC5
accent
#59CE73
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9DB252

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

Preview Lab → · Contrast checker → · Palette generator →

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