#9DA52D#9DA52D

#9DA52D is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.139 H 113.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9DA52D
RGBrgb(157, 165, 45)
HSLhsl(64, 57%, 41%)
HSVhsv(64, 73%, 65%)
CMYKcmyk(4.8%, 0%, 72.7%, 35.3%)
CIE-LABlab(65.18, -17.86, 57.50)
CIE-LCHlch(65.18, 60.21, 107.25°)
OKLaboklab(69.37% -0.0548 0.1274)
OKLCHoklch(69.37% 0.139 113.3)
XYZxyz(27.8343, 34.2684, 7.6303)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA52D #352DA5
analogous
#A5712D #9DA52D #61A52D
triadic
#9DA52D #2D9DA5 #A52D9D
tetradic
#9DA52D #2DA571 #352DA5 #A52D61
square
#9DA52D #2DA571 #352DA5 #A52D61
split-complementary
#9DA52D #2D61A5 #712DA5
monochromatic
#414513 #6F7520 #9DA52D #C3CC43 #D2D973

Accessibility & contrast

On white

2.67
#9DA52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#9DA52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA52D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA52D#FFFFFF#000000##000000
##9DA52D1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D16
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A89B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9da52d;
/* rgb */ color: rgb(157, 165, 45);
/* oklch */ color: oklch(69.4% 0.139 113.3);
Tailwind
colors: {
  custom: {
    50: '#bdbf6f',
    500: '#9da52d',
    950: '#000000',
  },
}
SCSS
$custom: #9da52d;
$custom-light: #bdbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9da52d",
  "rgb": {
    "r": 157,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 64,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69366,
    "c": 0.13869,
    "h": 113.3
  },
  "luminance": 0.34268
}

Semantic roles & 50–950 ramp

primary
#9DA52D
secondary
#736DC1
accent
#47E052
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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