#ACCD40#ACCD40

#ACCD40 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.8% C 0.167 H 121.8°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#ACCD40
RGBrgb(172, 205, 64)
HSLhsl(74, 59%, 53%)
HSVhsv(74, 69%, 80%)
CMYKcmyk(16.1%, 0%, 68.8%, 19.6%)
CIE-LABlab(77.76, -30.16, 63.31)
CIE-LCHlch(77.76, 70.12, 115.47°)
OKLaboklab(79.8% -0.0881 0.1423)
OKLCHoklch(79.8% 0.167 121.8)
XYZxyz(39.7705, 52.8034, 12.9464)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCD40 #6140CD
analogous
#CDA840 #ACCD40 #65CD40
triadic
#ACCD40 #40ACCD #CD40AC
tetradic
#ACCD40 #40CDA8 #6140CD #CD4065
square
#ACCD40 #40CDA8 #6140CD #CD4065
split-complementary
#ACCD40 #4065CD #A840CD
monochromatic
#60741E #88A52B #ACCD40 #C1DA71 #D6E6A1

Accessibility & contrast

On white

1.82
#ACCD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#ACCD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCD40
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCD40#FFFFFF#000000##000000
##ACCD401.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#B5C3B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #accd40;
/* rgb */ color: rgb(172, 205, 64);
/* oklch */ color: oklch(79.8% 0.167 121.8);
Tailwind
colors: {
  custom: {
    50: '#c8dc7d',
    500: '#accd40',
    950: '#000000',
  },
}
SCSS
$custom: #accd40;
$custom-light: #c8dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#accd40",
  "rgb": {
    "r": 172,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 74.043,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79796,
    "c": 0.16734,
    "h": 121.8
  },
  "luminance": 0.52803
}

Semantic roles & 50–950 ramp

primary
#ACCD40
secondary
#45347D
accent
#46E26B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ACCD40

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

Preview Lab → · Contrast checker → · Palette generator →

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