#9DB255#9DB255

#9DB255 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.7% C 0.122 H 120.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#9DB255
RGBrgb(157, 178, 85)
HSLhsl(74, 38%, 52%)
HSVhsv(74, 52%, 70%)
CMYKcmyk(11.8%, 0%, 52.2%, 30.2%)
CIE-LABlab(69.23, -21.49, 44.60)
CIE-LCHlch(69.23, 49.51, 115.72°)
OKLaboklab(72.73% -0.061 0.1054)
OKLCHoklch(72.73% 0.122 120.1)
XYZxyz(31.4650, 39.6649, 14.5910)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB255 #6A55B2
analogous
#B29955 #9DB255 #6FB255
triadic
#9DB255 #559DB2 #B2559D
tetradic
#9DB255 #55B299 #6A55B2 #B2556F
square
#9DB255 #55B299 #6A55B2 #B2556F
split-complementary
#9DB255 #556FB2 #9955B2
monochromatic
#55612C #7A8B3F #9DB255 #B5C57F #CED8A9

Accessibility & contrast

On white

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

On black

8.93
#9DB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB255
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB255#FFFFFF#000000##000000
##9DB2551.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94C
Deuteranopia (green-blind)
#B9A95A
Tritanopia (blue-blind)
#A4AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db255;
/* rgb */ color: rgb(157, 178, 85);
/* oklch */ color: oklch(72.7% 0.122 120.1);
Tailwind
colors: {
  custom: {
    50: '#bcc987',
    500: '#9db255',
    950: '#000000',
  },
}
SCSS
$custom: #9db255;
$custom-light: #bcc987;
$custom-dark: #000000;
JSON
{
  "hex": "#9db255",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 73.548,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.12175,
    "h": 120.1
  },
  "luminance": 0.39665
}

Semantic roles & 50–950 ramp

primary
#9DB255
secondary
#A69DC6
accent
#5ACE74
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #9DB255

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

Preview Lab → · Contrast checker → · Palette generator →

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