#9DBA27#9DBA27

#9DBA27 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.2% C 0.166 H 120.8°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#9DBA27
RGBrgb(157, 186, 39)
HSLhsl(72, 65%, 44%)
HSVhsv(72, 79%, 73%)
CMYKcmyk(15.6%, 0%, 79%, 27.1%)
CIE-LABlab(71.17, -28.50, 65.04)
CIE-LCHlch(71.17, 71.01, 113.67°)
OKLaboklab(74.18% -0.0847 0.1423)
OKLCHoklch(74.18% 0.166 120.8)
XYZxyz(31.8303, 42.4325, 8.4325)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DBA27 #4427BA
analogous
#BA8E27 #9DBA27 #54BA27
triadic
#9DBA27 #279DBA #BA279D
tetradic
#9DBA27 #27BA8E #4427BA #BA2754
square
#9DBA27 #27BA8E #4427BA #BA2754
split-complementary
#9DBA27 #2754BA #8E27BA
monochromatic
#485512 #72871C #9DBA27 #BBD846 #CEE379

Accessibility & contrast

On white

2.21
#9DBA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#9DBA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DBA27
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DBA27#FFFFFF#000000##000000
##9DBA271.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#A6B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9dba27;
/* rgb */ color: rgb(157, 186, 39);
/* oklch */ color: oklch(74.2% 0.166 120.8);
Tailwind
colors: {
  custom: {
    50: '#bece6e',
    500: '#9dba27',
    950: '#000000',
  },
}
SCSS
$custom: #9dba27;
$custom-light: #bece6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dba27",
  "rgb": {
    "r": 157,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 71.837,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74175,
    "c": 0.16561,
    "h": 120.8
  },
  "luminance": 0.42432
}

Semantic roles & 50–950 ramp

primary
#9DBA27
secondary
#8472CB
accent
#40E861
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DBA27

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

Preview Lab → · Contrast checker → · Palette generator →

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