#9DB042#9DB042

#9DB042 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 72.1% C 0.136 H 118.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9DB042
RGBrgb(157, 176, 66)
HSLhsl(70, 45%, 47%)
HSVhsv(70, 63%, 69%)
CMYKcmyk(10.8%, 0%, 62.5%, 31%)
CIE-LABlab(68.47, -22.10, 52.48)
CIE-LCHlch(68.47, 56.94, 112.84°)
OKLaboklab(72.06% -0.0646 0.1201)
OKLCHoklch(72.06% 0.136 118.3)
XYZxyz(30.4139, 38.6124, 11.0039)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB042 #5542B0
analogous
#B08C42 #9DB042 #66B042
triadic
#9DB042 #429DB0 #B0429D
tetradic
#9DB042 #42B08C #5542B0 #B04266
square
#9DB042 #42B08C #5542B0 #B04266
split-complementary
#9DB042 #4266B0 #8C42B0
monochromatic
#4E5721 #758331 #9DB042 #B6C769 #CCD795

Accessibility & contrast

On white

2.41
#9DB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9DB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB042
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB042#FFFFFF#000000##000000
##9DB0421.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#B9A749
Tritanopia (blue-blind)
#A6A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db042;
/* rgb */ color: rgb(157, 176, 66);
/* oklch */ color: oklch(72.1% 0.136 118.3);
Tailwind
colors: {
  custom: {
    50: '#bcc77b',
    500: '#9db042',
    950: '#000000',
  },
}
SCSS
$custom: #9db042;
$custom-light: #bcc77b;
$custom-dark: #000000;
JSON
{
  "hex": "#9db042",
  "rgb": {
    "r": 157,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 70.364,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72058,
    "c": 0.13638,
    "h": 118.3
  },
  "luminance": 0.38612
}

Semantic roles & 50–950 ramp

primary
#9DB042
secondary
#958BC3
accent
#53D569
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9DB042

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

Preview Lab → · Contrast checker → · Palette generator →

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