#9DB256#9DB256

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

Color values

HEX#9DB256
RGBrgb(157, 178, 86)
HSLhsl(74, 37%, 52%)
HSVhsv(74, 52%, 70%)
CMYKcmyk(11.8%, 0%, 51.7%, 30.2%)
CIE-LABlab(69.24, -21.39, 44.13)
CIE-LCHlch(69.24, 49.04, 115.86°)
OKLaboklab(72.74% -0.0606 0.1044)
OKLCHoklch(72.74% 0.121 120.1)
XYZxyz(31.5050, 39.6809, 14.8017)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB256 #6B56B2
analogous
#B29956 #9DB256 #6FB256
triadic
#9DB256 #569DB2 #B2569D
tetradic
#9DB256 #56B299 #6B56B2 #B2566F
square
#9DB256 #56B299 #6B56B2 #B2566F
split-complementary
#9DB256 #566FB2 #9956B2
monochromatic
#55612C #7A8B3F #9DB256 #B5C580 #CED8AA

Accessibility & contrast

On white

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

On black

8.94
#9DB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB256
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB256#FFFFFF#000000##000000
##9DB2561.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db256;
/* rgb */ color: rgb(157, 178, 86);
/* oklch */ color: oklch(72.7% 0.121 120.1);
Tailwind
colors: {
  custom: {
    50: '#bcc988',
    500: '#9db256',
    950: '#000000',
  },
}
SCSS
$custom: #9db256;
$custom-light: #bcc988;
$custom-dark: #000000;
JSON
{
  "hex": "#9db256",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 73.696,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.12076,
    "h": 120.1
  },
  "luminance": 0.39681
}

Semantic roles & 50–950 ramp

primary
#9DB256
secondary
#A79EC6
accent
#5ACD75
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #9DB256

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

Preview Lab → · Contrast checker → · Palette generator →

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