#ACCD31#ACCD31

#ACCD31 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.7% C 0.176 H 121.3°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#ACCD31
RGBrgb(172, 205, 49)
HSLhsl(73, 61%, 50%)
HSVhsv(73, 76%, 80%)
CMYKcmyk(16.1%, 0%, 76.1%, 19.6%)
CIE-LABlab(77.67, -30.94, 68.37)
CIE-LCHlch(77.67, 75.05, 114.35°)
OKLaboklab(79.7% -0.0915 0.1506)
OKLCHoklch(79.7% 0.176 121.3)
XYZxyz(39.3996, 52.6551, 10.9929)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCD31 #5231CD
analogous
#CDA031 #ACCD31 #5ECD31
triadic
#ACCD31 #31ACCD #CD31AC
tetradic
#ACCD31 #31CDA0 #5231CD #CD315E
square
#ACCD31 #31CDA0 #5231CD #CD315E
split-complementary
#ACCD31 #315ECD #A031CD
monochromatic
#596A19 #839C25 #ACCD31 #C0D962 #D4E593

Accessibility & contrast

On white

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

On black

11.53
#ACCD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCD31
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCD31#FFFFFF#000000##000000
##ACCD311.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC104
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#B6C2B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #accd31;
/* rgb */ color: rgb(172, 205, 49);
/* oklch */ color: oklch(79.7% 0.176 121.3);
Tailwind
colors: {
  custom: {
    50: '#c9dc76',
    500: '#accd31',
    950: '#000000',
  },
}
SCSS
$custom: #accd31;
$custom-light: #c9dc76;
$custom-dark: #000000;
JSON
{
  "hex": "#accd31",
  "rgb": {
    "r": 172,
    "g": 205,
    "b": 49
  },
  "hsl": {
    "h": 72.692,
    "s": 61.417,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79697,
    "c": 0.17617,
    "h": 121.3
  },
  "luminance": 0.52655
}

Semantic roles & 50–950 ramp

primary
#ACCD31
secondary
#3D2E74
accent
#43E565
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #ACCD31

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

Preview Lab → · Contrast checker → · Palette generator →

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