#9DB927#9DB927

#9DB927 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#9DB927
RGBrgb(157, 185, 39)
HSLhsl(72, 65%, 44%)
HSVhsv(72, 79%, 73%)
CMYKcmyk(15.1%, 0%, 78.9%, 27.5%)
CIE-LABlab(70.88, -28.03, 64.78)
CIE-LCHlch(70.88, 70.58, 113.40°)
OKLaboklab(73.94% -0.0834 0.1417)
OKLCHoklch(73.94% 0.164 120.5)
XYZxyz(31.6204, 42.0126, 8.3625)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB927 #4327B9
analogous
#B98C27 #9DB927 #54B927
triadic
#9DB927 #279DB9 #B9279D
tetradic
#9DB927 #27B98C #4327B9 #B92754
square
#9DB927 #27B98C #4327B9 #B92754
split-complementary
#9DB927 #2754B9 #8C27B9
monochromatic
#475412 #72861C #9DB927 #BCD845 #CEE378

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB927#FFFFFF#000000##000000
##9DB9271.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: #9db927;
/* rgb */ color: rgb(157, 185, 39);
/* oklch */ color: oklch(73.9% 0.164 120.5);
Tailwind
colors: {
  custom: {
    50: '#bece6e',
    500: '#9db927',
    950: '#000000',
  },
}
SCSS
$custom: #9db927;
$custom-light: #bece6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9db927",
  "rgb": {
    "r": 157,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 71.507,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73942,
    "c": 0.16447,
    "h": 120.5
  },
  "luminance": 0.42013
}

Semantic roles & 50–950 ramp

primary
#9DB927
secondary
#8372CA
accent
#40E860
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DB927

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

Preview Lab → · Contrast checker → · Palette generator →

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