#9DA52F#9DA52F

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

Color values

HEX#9DA52F
RGBrgb(157, 165, 47)
HSLhsl(64, 56%, 42%)
HSVhsv(64, 72%, 65%)
CMYKcmyk(4.8%, 0%, 71.5%, 35.3%)
CIE-LABlab(65.19, -17.75, 56.78)
CIE-LCHlch(65.19, 59.49, 107.36°)
OKLaboklab(69.38% -0.0544 0.1262)
OKLCHoklch(69.38% 0.137 113.3)
XYZxyz(27.8737, 34.2842, 7.8380)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA52F #372FA5
analogous
#A5722F #9DA52F #62A52F
triadic
#9DA52F #2F9DA5 #A52F9D
tetradic
#9DA52F #2FA572 #372FA5 #A52F62
square
#9DA52F #2FA572 #372FA5 #A52F62
split-complementary
#9DA52F #2F62A5 #722FA5
monochromatic
#424614 #707521 #9DA52F #C2CB47 #D1D876

Accessibility & contrast

On white

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

On black

7.86
#9DA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA52F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA52F#FFFFFF#000000##000000
##9DA52F1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da52f;
/* rgb */ color: rgb(157, 165, 47);
/* oklch */ color: oklch(69.4% 0.137 113.3);
Tailwind
colors: {
  custom: {
    50: '#bdbf70',
    500: '#9da52f',
    950: '#000000',
  },
}
SCSS
$custom: #9da52f;
$custom-light: #bdbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9da52f",
  "rgb": {
    "r": 157,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 64.068,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.13744,
    "h": 113.3
  },
  "luminance": 0.34284
}

Semantic roles & 50–950 ramp

primary
#9DA52F
secondary
#7570C0
accent
#49DF53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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