#9DB271#9DB271

#9DB271 is a light, moderate yellow-green. Relative luminance 0.402; OKLCH L 73.2% C 0.091 H 123.2°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#9DB271
RGBrgb(157, 178, 113)
HSLhsl(79, 30%, 57%)
HSVhsv(79, 37%, 70%)
CMYKcmyk(11.8%, 0%, 36.5%, 30.2%)
CIE-LABlab(69.61, -18.29, 30.87)
CIE-LCHlch(69.61, 35.88, 120.64°)
OKLaboklab(73.16% -0.0499 0.0762)
OKLCHoklch(73.16% 0.091 123.2)
XYZxyz(32.8055, 40.2011, 21.6509)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB271 #8671B2
analogous
#B2A771 #9DB271 #7DB271
triadic
#9DB271 #719DB2 #B2719D
tetradic
#9DB271 #71B2A7 #8671B2 #B2717D
square
#9DB271 #71B2A7 #8671B2 #B2717D
split-complementary
#9DB271 #717DB2 #A771B2
monochromatic
#5D6D3B #7F9551 #9DB271 #B8C899 #D4DDC0

Accessibility & contrast

On white

2.32
#9DB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#9DB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB271
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB271#FFFFFF#000000##000000
##9DB2711.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB6C
Deuteranopia (green-blind)
#B6AA74
Tritanopia (blue-blind)
#A2ACA2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9db271;
/* rgb */ color: rgb(157, 178, 113);
/* oklch */ color: oklch(73.2% 0.091 123.2);
Tailwind
colors: {
  custom: {
    50: '#bbc99a',
    500: '#9db271',
    950: '#000000',
  },
}
SCSS
$custom: #9db271;
$custom-light: #bbc99a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db271",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 79.385,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.09112,
    "h": 123.2
  },
  "luminance": 0.40201
}

Semantic roles & 50–950 ramp

primary
#9DB271
secondary
#BBB2CD
accent
#62C682
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9DB271

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

Preview Lab → · Contrast checker → · Palette generator →

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