#9DA628#9DA628

#9DA628 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.143 H 113.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9DA628
RGBrgb(157, 166, 40)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 76%, 65%)
CMYKcmyk(5.4%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.43, -18.60, 59.47)
CIE-LCHlch(65.43, 62.31, 107.37°)
OKLaboklab(69.56% -0.0574 0.1307)
OKLCHoklch(69.56% 0.143 113.7)
XYZxyz(27.9247, 34.5943, 7.2134)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA628 #3128A6
analogous
#A67028 #9DA628 #5EA628
triadic
#9DA628 #289DA6 #A6289D
tetradic
#9DA628 #28A670 #3128A6 #A6285E
square
#9DA628 #28A670 #3128A6 #A6285E
split-complementary
#9DA628 #285EA6 #7028A6
monochromatic
#404310 #6E751C #9DA628 #C5D03B #D4DC6D

Accessibility & contrast

On white

2.65
#9DA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#9DA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA628
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA628#FFFFFF#000000##000000
##9DA6281.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#A89C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9da628;
/* rgb */ color: rgb(157, 166, 40);
/* oklch */ color: oklch(69.6% 0.143 113.7);
Tailwind
colors: {
  custom: {
    50: '#bdc06c',
    500: '#9da628',
    950: '#000000',
  },
}
SCSS
$custom: #9da628;
$custom-light: #bdc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9da628",
  "rgb": {
    "r": 157,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 64.286,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.14271,
    "h": 113.7
  },
  "luminance": 0.34594
}

Semantic roles & 50–950 ramp

primary
#9DA628
secondary
#6E67C2
accent
#44E44F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9DA628

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

Preview Lab → · Contrast checker → · Palette generator →

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