#9DB238#9DB238

#9DB238 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.4% C 0.146 H 118.7°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#9DB238
RGBrgb(157, 178, 56)
HSLhsl(70, 52%, 46%)
HSVhsv(70, 69%, 70%)
CMYKcmyk(11.8%, 0%, 68.5%, 30.2%)
CIE-LABlab(68.96, -23.76, 57.12)
CIE-LCHlch(68.96, 61.86, 112.59°)
OKLaboklab(72.43% -0.0702 0.1284)
OKLCHoklch(72.43% 0.146 118.7)
XYZxyz(30.5394, 39.2946, 9.7164)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB238 #4D38B2
analogous
#B28A38 #9DB238 #60B238
triadic
#9DB238 #389DB2 #B2389D
tetradic
#9DB238 #38B28A #4D38B2 #B23860
square
#9DB238 #38B28A #4D38B2 #B23860
split-complementary
#9DB238 #3860B2 #8A38B2
monochromatic
#4B551B #748329 #9DB238 #B8CC5C #CCDA8A

Accessibility & contrast

On white

2.37
#9DB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#9DB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB238
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB238#FFFFFF#000000##000000
##9DB2381.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#A6A89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db238;
/* rgb */ color: rgb(157, 178, 56);
/* oklch */ color: oklch(72.4% 0.146 118.7);
Tailwind
colors: {
  custom: {
    50: '#bdc976',
    500: '#9db238',
    950: '#000000',
  },
}
SCSS
$custom: #9db238;
$custom-light: #bdc976;
$custom-dark: #000000;
JSON
{
  "hex": "#9db238",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 70.328,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7243,
    "c": 0.14636,
    "h": 118.7
  },
  "luminance": 0.39294
}

Semantic roles & 50–950 ramp

primary
#9DB238
secondary
#8D81C5
accent
#4CDC65
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB238

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

Preview Lab → · Contrast checker → · Palette generator →

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