#9DB928#9DB928

#9DB928 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.164 H 120.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#9DB928
RGBrgb(157, 185, 40)
HSLhsl(72, 64%, 44%)
HSVhsv(72, 78%, 73%)
CMYKcmyk(15.1%, 0%, 78.4%, 27.5%)
CIE-LABlab(70.88, -27.98, 64.49)
CIE-LCHlch(70.88, 70.30, 113.46°)
OKLaboklab(73.95% -0.0832 0.1413)
OKLCHoklch(73.95% 0.164 120.5)
XYZxyz(31.6372, 42.0193, 8.4509)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB928 #4428B9
analogous
#B98D28 #9DB928 #55B928
triadic
#9DB928 #289DB9 #B9289D
tetradic
#9DB928 #28B98D #4428B9 #B92855
square
#9DB928 #28B98D #4428B9 #B92855
split-complementary
#9DB928 #2855B9 #8D28B9
monochromatic
#485412 #72871D #9DB928 #BBD747 #CEE279

Accessibility & contrast

On white

2.23
#9DB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#9DB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB928
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB928#FFFFFF#000000##000000
##9DB9281.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#A6AF9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9db928;
/* rgb */ color: rgb(157, 185, 40);
/* oklch */ color: oklch(73.9% 0.164 120.5);
Tailwind
colors: {
  custom: {
    50: '#bece6f',
    500: '#9db928',
    950: '#000000',
  },
}
SCSS
$custom: #9db928;
$custom-light: #bece6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db928",
  "rgb": {
    "r": 157,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 71.586,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73947,
    "c": 0.16399,
    "h": 120.5
  },
  "luminance": 0.42019
}

Semantic roles & 50–950 ramp

primary
#9DB928
secondary
#8473CA
accent
#40E761
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DB928

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

Preview Lab → · Contrast checker → · Palette generator →

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