#9DB338#9DB338

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

Color values

HEX#9DB338
RGBrgb(157, 179, 56)
HSLhsl(71, 52%, 46%)
HSVhsv(71, 69%, 70%)
CMYKcmyk(12.3%, 0%, 68.7%, 29.8%)
CIE-LABlab(69.25, -24.26, 57.41)
CIE-LCHlch(69.25, 62.32, 112.91°)
OKLaboklab(72.66% -0.0716 0.129)
OKLCHoklch(72.66% 0.148 119)
XYZxyz(30.7391, 39.6940, 9.7830)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB338 #4E38B3
analogous
#B38B38 #9DB338 #5FB338
triadic
#9DB338 #389DB3 #B3389D
tetradic
#9DB338 #38B38B #4E38B3 #B3385F
square
#9DB338 #38B38B #4E38B3 #B3385F
split-complementary
#9DB338 #385FB3 #8B38B3
monochromatic
#4B561B #748429 #9DB338 #B8CC5C #CCDB8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB338#FFFFFF#000000##000000
##9DB3381.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)
#BEA925
Deuteranopia (green-blind)
#BCAA42
Tritanopia (blue-blind)
#A6A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db338;
/* rgb */ color: rgb(157, 179, 56);
/* oklch */ color: oklch(72.7% 0.148 119.0);
Tailwind
colors: {
  custom: {
    50: '#bdc976',
    500: '#9db338',
    950: '#000000',
  },
}
SCSS
$custom: #9db338;
$custom-light: #bdc976;
$custom-dark: #000000;
JSON
{
  "hex": "#9db338",
  "rgb": {
    "r": 157,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 70.732,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72661,
    "c": 0.14755,
    "h": 119
  },
  "luminance": 0.39694
}

Semantic roles & 50–950 ramp

primary
#9DB338
secondary
#8E82C5
accent
#4CDC66
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB338

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

Preview Lab → · Contrast checker → · Palette generator →

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