#9DA520#9DA520

#9DA520 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.146 H 113.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9DA520
RGBrgb(157, 165, 32)
HSLhsl(64, 68%, 39%)
HSVhsv(64, 81%, 65%)
CMYKcmyk(4.8%, 0%, 80.6%, 35.3%)
CIE-LABlab(65.11, -18.42, 61.64)
CIE-LCHlch(65.11, 64.33, 106.64°)
OKLaboklab(69.29% -0.0575 0.1338)
OKLCHoklch(69.29% 0.146 113.2)
XYZxyz(27.6214, 34.1833, 6.5092)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA520 #2820A5
analogous
#A56A20 #9DA520 #5AA520
triadic
#9DA520 #209DA5 #A5209D
tetradic
#9DA520 #20A56A #2820A5 #A5205A
square
#9DA520 #20A56A #2820A5 #A5205A
split-complementary
#9DA520 #205AA5 #6A20A5
monochromatic
#3B3E0C #6C7216 #9DA520 #CCD62C #D8E05F

Accessibility & contrast

On white

2.68
#9DA520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9DA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA520
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA520#FFFFFF#000000##000000
##9DA5201.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#A89B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9da520;
/* rgb */ color: rgb(157, 165, 32);
/* oklch */ color: oklch(69.3% 0.146 113.2);
Tailwind
colors: {
  custom: {
    50: '#bebf69',
    500: '#9da520',
    950: '#000000',
  },
}
SCSS
$custom: #9da520;
$custom-light: #bebf69;
$custom-dark: #000000;
JSON
{
  "hex": "#9da520",
  "rgb": {
    "r": 157,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 63.609,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6929,
    "c": 0.14566,
    "h": 113.2
  },
  "luminance": 0.34183
}

Semantic roles & 50–950 ramp

primary
#9DA520
secondary
#625CC5
accent
#3DEA48
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA520

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

Preview Lab → · Contrast checker → · Palette generator →

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