#ACC628#ACC628

#ACC628 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.0% C 0.173 H 119.2°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#ACC628
RGBrgb(172, 198, 40)
HSLhsl(70, 66%, 47%)
HSVhsv(70, 80%, 78%)
CMYKcmyk(13.1%, 0%, 79.8%, 22.4%)
CIE-LABlab(75.65, -28.01, 69.16)
CIE-LCHlch(75.65, 74.62, 112.04°)
OKLaboklab(78.05% -0.0841 0.1508)
OKLCHoklch(78.05% 0.173 119.2)
XYZxyz(37.5912, 49.3123, 9.5450)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC628 #4228C6
analogous
#C69128 #ACC628 #5DC628
triadic
#ACC628 #28ACC6 #C628AC
tetradic
#ACC628 #28C691 #4228C6 #C6285D
square
#ACC628 #28C691 #4228C6 #C6285D
split-complementary
#ACC628 #285DC6 #9128C6
monochromatic
#546013 #80931E #ACC628 #C5DC50 #D6E683

Accessibility & contrast

On white

1.93
#ACC628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#ACC628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC628
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC628#FFFFFF#000000##000000
##ACC6281.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D0BB38
Tritanopia (blue-blind)
#B7BBA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #acc628;
/* rgb */ color: rgb(172, 198, 40);
/* oklch */ color: oklch(78.0% 0.173 119.2);
Tailwind
colors: {
  custom: {
    50: '#c9d771',
    500: '#acc628',
    950: '#000000',
  },
}
SCSS
$custom: #acc628;
$custom-light: #c9d771;
$custom-dark: #000000;
JSON
{
  "hex": "#acc628",
  "rgb": {
    "r": 172,
    "g": 198,
    "b": 40
  },
  "hsl": {
    "h": 69.873,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7805,
    "c": 0.17261,
    "h": 119.2
  },
  "luminance": 0.49312
}

Semantic roles & 50–950 ramp

primary
#ACC628
secondary
#897BCF
accent
#3EE95B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #ACC628

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

Preview Lab → · Contrast checker → · Palette generator →

#ACC628 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva