#9DA528#9DA528

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

Color values

HEX#9DA528
RGBrgb(157, 165, 40)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 76%, 65%)
CMYKcmyk(4.8%, 0%, 75.8%, 35.3%)
CIE-LABlab(65.15, -18.10, 59.21)
CIE-LCHlch(65.15, 61.91, 106.99°)
OKLaboklab(69.33% -0.056 0.1301)
OKLCHoklch(69.33% 0.142 113.3)
XYZxyz(27.7436, 34.2322, 7.1531)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA528 #3028A5
analogous
#A56E28 #9DA528 #5EA528
triadic
#9DA528 #289DA5 #A5289D
tetradic
#9DA528 #28A56E #3028A5 #A5285E
square
#9DA528 #28A56E #3028A5 #A5285E
split-complementary
#9DA528 #285EA5 #6E28A5
monochromatic
#3F4210 #6E741C #9DA528 #C6CF3B #D4DB6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA528#FFFFFF#000000##000000
##9DA5281.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da528;
/* rgb */ color: rgb(157, 165, 40);
/* oklch */ color: oklch(69.3% 0.142 113.3);
Tailwind
colors: {
  custom: {
    50: '#bdbf6c',
    500: '#9da528',
    950: '#000000',
  },
}
SCSS
$custom: #9da528;
$custom-light: #bdbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9da528",
  "rgb": {
    "r": 157,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 63.84,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69334,
    "c": 0.14163,
    "h": 113.3
  },
  "luminance": 0.34232
}

Semantic roles & 50–950 ramp

primary
#9DA528
secondary
#6D67C2
accent
#44E44E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9DA528

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

Preview Lab → · Contrast checker → · Palette generator →

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