#9DBC40#9DBC40

#9DBC40 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.8% C 0.153 H 122.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#9DBC40
RGBrgb(157, 188, 64)
HSLhsl(75, 49%, 49%)
HSVhsv(75, 66%, 74%)
CMYKcmyk(16.5%, 0%, 66%, 26.3%)
CIE-LABlab(71.90, -28.10, 56.96)
CIE-LCHlch(71.90, 63.51, 116.26°)
OKLaboklab(74.81% -0.0815 0.1293)
OKLCHoklch(74.81% 0.153 122.2)
XYZxyz(32.8136, 43.5046, 11.5180)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DBC40 #5F40BC
analogous
#BC9D40 #9DBC40 #5FBC40
triadic
#9DBC40 #409DBC #BC409D
tetradic
#9DBC40 #40BC9D #5F40BC #BC405F
square
#9DBC40 #40BC9D #5F40BC #BC405F
split-complementary
#9DBC40 #405FBC #9D40BC
monochromatic
#516121 #778E30 #9DBC40 #B5CD6C #CCDD9A

Accessibility & contrast

On white

2.16
#9DBC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#9DBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DBC40
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DBC40#FFFFFF#000000##000000
##9DBC401.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C3B049
Tritanopia (blue-blind)
#A5B3A3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9dbc40;
/* rgb */ color: rgb(157, 188, 64);
/* oklch */ color: oklch(74.8% 0.153 122.2);
Tailwind
colors: {
  custom: {
    50: '#bdd07b',
    500: '#9dbc40',
    950: '#000000',
  },
}
SCSS
$custom: #9dbc40;
$custom-light: #bdd07b;
$custom-dark: #000000;
JSON
{
  "hex": "#9dbc40",
  "rgb": {
    "r": 157,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 75,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7481,
    "c": 0.15283,
    "h": 122.2
  },
  "luminance": 0.43505
}

Semantic roles & 50–950 ramp

primary
#9DBC40
secondary
#9E8FC9
accent
#4FD971
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9DBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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