#9DB938#9DB938

#9DB938 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.1% C 0.155 H 121.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#9DB938
RGBrgb(157, 185, 56)
HSLhsl(73, 54%, 47%)
HSVhsv(73, 70%, 73%)
CMYKcmyk(15.1%, 0%, 69.7%, 27.5%)
CIE-LABlab(70.98, -27.17, 59.15)
CIE-LCHlch(70.98, 65.09, 114.68°)
OKLaboklab(74.05% -0.0797 0.1327)
OKLCHoklch(74.05% 0.155 121)
XYZxyz(31.9679, 42.1516, 10.1926)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB938 #5438B9
analogous
#B99438 #9DB938 #5DB938
triadic
#9DB938 #389DB9 #B9389D
tetradic
#9DB938 #38B994 #5438B9 #B9385D
square
#9DB938 #38B994 #5438B9 #B9385D
split-complementary
#9DB938 #385DB9 #9438B9
monochromatic
#4D5B1C #758A2A #9DB938 #B7CF5F #CCDD8E

Accessibility & contrast

On white

2.23
#9DB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#9DB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB938
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB938#FFFFFF#000000##000000
##9DB9381.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#A6AF9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9db938;
/* rgb */ color: rgb(157, 185, 56);
/* oklch */ color: oklch(74.1% 0.155 121.0);
Tailwind
colors: {
  custom: {
    50: '#bdce76',
    500: '#9db938',
    950: '#000000',
  },
}
SCSS
$custom: #9db938;
$custom-light: #bdce76;
$custom-dark: #000000;
JSON
{
  "hex": "#9db938",
  "rgb": {
    "r": 157,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 73.023,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7405,
    "c": 0.15477,
    "h": 121
  },
  "luminance": 0.42152
}

Semantic roles & 50–950 ramp

primary
#9DB938
secondary
#9485C8
accent
#4BDD6B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB938

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

Preview Lab → · Contrast checker → · Palette generator →

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