#9DB278#9DB278

#9DB278 is a light, moderate yellow-green. Relative luminance 0.404; OKLCH L 73.3% C 0.083 H 124.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#9DB278
RGBrgb(157, 178, 120)
HSLhsl(82, 27%, 58%)
HSVhsv(82, 33%, 70%)
CMYKcmyk(11.8%, 0%, 32.6%, 30.2%)
CIE-LABlab(69.73, -17.34, 27.32)
CIE-LCHlch(69.73, 32.36, 122.40°)
OKLaboklab(73.29% -0.0469 0.0681)
OKLCHoklch(73.29% 0.083 124.6)
XYZxyz(33.2149, 40.3648, 23.8070)
Luminance0.4037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB278 #8D78B2
analogous
#B2AA78 #9DB278 #80B278
triadic
#9DB278 #789DB2 #B2789D
tetradic
#9DB278 #78B2AA #8D78B2 #B27880
square
#9DB278 #78B2AA #8D78B2 #B27880
split-complementary
#9DB278 #7880B2 #AA78B2
monochromatic
#5E7040 #7F9756 #9DB278 #B9C89F #D6DEC6

Accessibility & contrast

On white

2.31
#9DB278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#9DB278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB278
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB278#FFFFFF#000000##000000
##9DB2781.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AB74
Deuteranopia (green-blind)
#B5AA7B
Tritanopia (blue-blind)
#A1ADA3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9db278;
/* rgb */ color: rgb(157, 178, 120);
/* oklch */ color: oklch(73.3% 0.083 124.6);
Tailwind
colors: {
  custom: {
    50: '#bac99f',
    500: '#9db278',
    950: '#000000',
  },
}
SCSS
$custom: #9db278;
$custom-light: #bac99f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db278",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 120
  },
  "hsl": {
    "h": 81.724,
    "s": 27.358,
    "l": 58.431
  },
  "oklch": {
    "l": 0.73291,
    "c": 0.08274,
    "h": 124.6
  },
  "luminance": 0.40365
}

Semantic roles & 50–950 ramp

primary
#9DB278
secondary
#C0B7CE
accent
#64C487
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9DB278

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

Preview Lab → · Contrast checker → · Palette generator →

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