#9DAD40#9DAD40

#9DAD40 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.134 H 117.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#9DAD40
RGBrgb(157, 173, 64)
HSLhsl(69, 46%, 46%)
HSVhsv(69, 63%, 68%)
CMYKcmyk(9.2%, 0%, 63%, 32.2%)
CIE-LABlab(67.60, -20.75, 52.40)
CIE-LCHlch(67.60, 56.36, 111.60°)
OKLaboklab(71.35% -0.061 0.1197)
OKLCHoklch(71.35% 0.134 117)
XYZxyz(29.7742, 37.4257, 10.5049)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAD40 #5040AD
analogous
#AD8740 #9DAD40 #67AD40
triadic
#9DAD40 #409DAD #AD409D
tetradic
#9DAD40 #40AD87 #5040AD #AD4067
square
#9DAD40 #40AD87 #5040AD #AD4067
split-complementary
#9DAD40 #4067AD #8740AD
monochromatic
#4C541F #74802F #9DAD40 #B8C664 #CCD691

Accessibility & contrast

On white

2.47
#9DAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#9DAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAD40
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAD40#FFFFFF#000000##000000
##9DAD401.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#B7A547
Tritanopia (blue-blind)
#A6A496
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9dad40;
/* rgb */ color: rgb(157, 173, 64);
/* oklch */ color: oklch(71.4% 0.134 117.0);
Tailwind
colors: {
  custom: {
    50: '#bcc57a',
    500: '#9dad40',
    950: '#000000',
  },
}
SCSS
$custom: #9dad40;
$custom-light: #bcc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#9dad40",
  "rgb": {
    "r": 157,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 68.807,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.13433,
    "h": 117
  },
  "luminance": 0.37425
}

Semantic roles & 50–950 ramp

primary
#9DAD40
secondary
#9087C2
accent
#52D665
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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