#9DB257#9DB257

#9DB257 is a light, moderate yellow-green. Relative luminance 0.397; OKLCH L 72.8% C 0.120 H 120.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9DB257
RGBrgb(157, 178, 87)
HSLhsl(74, 37%, 52%)
HSVhsv(74, 51%, 70%)
CMYKcmyk(11.8%, 0%, 51.1%, 30.2%)
CIE-LABlab(69.25, -21.29, 43.66)
CIE-LCHlch(69.25, 48.57, 116.00°)
OKLaboklab(72.76% -0.0603 0.1035)
OKLCHoklch(72.76% 0.12 120.2)
XYZxyz(31.5456, 39.6971, 15.0154)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB257 #6C57B2
analogous
#B29A57 #9DB257 #70B257
triadic
#9DB257 #579DB2 #B2579D
tetradic
#9DB257 #57B29A #6C57B2 #B25770
square
#9DB257 #57B29A #6C57B2 #B25770
split-complementary
#9DB257 #5770B2 #9A57B2
monochromatic
#56622D #7A8C40 #9DB257 #B5C581 #CED8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB257#FFFFFF#000000##000000
##9DB2571.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)
#BCA94F
Deuteranopia (green-blind)
#B9A95C
Tritanopia (blue-blind)
#A4AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db257;
/* rgb */ color: rgb(157, 178, 87);
/* oklch */ color: oklch(72.8% 0.120 120.2);
Tailwind
colors: {
  custom: {
    50: '#bcc989',
    500: '#9db257',
    950: '#000000',
  },
}
SCSS
$custom: #9db257;
$custom-light: #bcc989;
$custom-dark: #000000;
JSON
{
  "hex": "#9db257",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 73.846,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.11976,
    "h": 120.2
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#9DB257
secondary
#A89EC6
accent
#5BCD75
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9DB257

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

Preview Lab → · Contrast checker → · Palette generator →

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