#9DB242#9DB242

#9DB242 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.5% C 0.139 H 119.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9DB242
RGBrgb(157, 178, 66)
HSLhsl(71, 46%, 48%)
HSVhsv(71, 63%, 70%)
CMYKcmyk(11.8%, 0%, 62.9%, 30.2%)
CIE-LABlab(69.04, -23.09, 53.09)
CIE-LCHlch(69.04, 57.90, 113.51°)
OKLaboklab(72.52% -0.0674 0.1214)
OKLCHoklch(72.52% 0.139 119)
XYZxyz(30.8089, 39.4024, 11.1356)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB242 #5742B2
analogous
#B28F42 #9DB242 #65B242
triadic
#9DB242 #429DB2 #B2429D
tetradic
#9DB242 #42B28F #5742B2 #B24265
square
#9DB242 #42B28F #5742B2 #B24265
split-complementary
#9DB242 #4265B2 #8F42B2
monochromatic
#4E5921 #768531 #9DB242 #B6C86A #CCD896

Accessibility & contrast

On white

2.36
#9DB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9DB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB242
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB242#FFFFFF#000000##000000
##9DB2421.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA834
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#A6A99B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db242;
/* rgb */ color: rgb(157, 178, 66);
/* oklch */ color: oklch(72.5% 0.139 119.0);
Tailwind
colors: {
  custom: {
    50: '#bcc97b',
    500: '#9db242',
    950: '#000000',
  },
}
SCSS
$custom: #9db242;
$custom-light: #bcc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#9db242",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 71.25,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72518,
    "c": 0.13885,
    "h": 119
  },
  "luminance": 0.39402
}

Semantic roles & 50–950 ramp

primary
#9DB242
secondary
#968CC4
accent
#52D66B
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9DB242

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

Preview Lab → · Contrast checker → · Palette generator →

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