#9DA828#9DA828

#9DA828 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.0% C 0.145 H 114.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9DA828
RGBrgb(157, 168, 40)
HSLhsl(65, 62%, 41%)
HSVhsv(65, 76%, 66%)
CMYKcmyk(6.5%, 0%, 76.2%, 34.1%)
CIE-LABlab(66.00, -19.62, 60.00)
CIE-LCHlch(66.00, 63.13, 108.10°)
OKLaboklab(70.02% -0.0602 0.1318)
OKLCHoklch(70.02% 0.145 114.5)
XYZxyz(28.2911, 35.3271, 7.3356)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA828 #3328A8
analogous
#A87328 #9DA828 #5DA828
triadic
#9DA828 #289DA8 #A8289D
tetradic
#9DA828 #28A873 #3328A8 #A8285D
square
#9DA828 #28A873 #3328A8 #A8285D
split-complementary
#9DA828 #285DA8 #7328A8
monochromatic
#414510 #6F771C #9DA828 #C4D13D #D3DC6E

Accessibility & contrast

On white

2.60
#9DA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#9DA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA828
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA828#FFFFFF#000000##000000
##9DA8281.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F07
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#A89E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da828;
/* rgb */ color: rgb(157, 168, 40);
/* oklch */ color: oklch(70.0% 0.145 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc16d',
    500: '#9da828',
    950: '#000000',
  },
}
SCSS
$custom: #9da828;
$custom-light: #bdc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9da828",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 65.156,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.7002,
    "c": 0.14488,
    "h": 114.5
  },
  "luminance": 0.35327
}

Semantic roles & 50–950 ramp

primary
#9DA828
secondary
#7069C3
accent
#43E551
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9DA828

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

Preview Lab → · Contrast checker → · Palette generator →

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