#9DA342#9DA342

#9DA342 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.121 H 112.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9DA342
RGBrgb(157, 163, 66)
HSLhsl(64, 42%, 45%)
HSVhsv(64, 60%, 64%)
CMYKcmyk(3.7%, 0%, 59.5%, 36.1%)
CIE-LABlab(64.77, -15.50, 48.44)
CIE-LCHlch(64.77, 50.86, 107.75°)
OKLaboklab(69.09% -0.0461 0.1115)
OKLCHoklch(69.09% 0.121 112.4)
XYZxyz(27.9859, 33.7564, 10.1946)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA342 #4842A3
analogous
#A37842 #9DA342 #6DA342
triadic
#9DA342 #429DA3 #A3429D
tetradic
#9DA342 #42A378 #4842A3 #A3426D
square
#9DA342 #42A378 #4842A3 #A3426D
split-complementary
#9DA342 #426DA3 #7842A3
monochromatic
#494C1F #737730 #9DA342 #BAC063 #CDD18E

Accessibility & contrast

On white

2.71
#9DA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9DA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA342
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA342#FFFFFF#000000##000000
##9DA3421.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#AF9E48
Tritanopia (blue-blind)
#A79A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da342;
/* rgb */ color: rgb(157, 163, 66);
/* oklch */ color: oklch(69.1% 0.121 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbe7a',
    500: '#9da342',
    950: '#000000',
  },
}
SCSS
$custom: #9da342;
$custom-light: #bcbe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da342",
  "rgb": {
    "r": 157,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 63.711,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69092,
    "c": 0.12068,
    "h": 112.4
  },
  "luminance": 0.33756
}

Semantic roles & 50–950 ramp

primary
#9DA342
secondary
#8884BC
accent
#56D25D
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA342

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

Preview Lab → · Contrast checker → · Palette generator →

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