#ACCD38#ACCD38

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

Color values

HEX#ACCD38
RGBrgb(172, 205, 56)
HSLhsl(73, 60%, 51%)
HSVhsv(73, 73%, 80%)
CMYKcmyk(16.1%, 0%, 72.7%, 19.6%)
CIE-LABlab(77.71, -30.60, 66.13)
CIE-LCHlch(77.71, 72.86, 114.84°)
OKLaboklab(79.74% -0.09 0.147)
OKLCHoklch(79.74% 0.172 121.5)
XYZxyz(39.5590, 52.7188, 11.8323)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCD38 #5938CD
analogous
#CDA338 #ACCD38 #61CD38
triadic
#ACCD38 #38ACCD #CD38AC
tetradic
#ACCD38 #38CDA3 #5938CD #CD3861
square
#ACCD38 #38CDA3 #5938CD #CD3861
split-complementary
#ACCD38 #3861CD #A338CD
monochromatic
#5C6F1C #85A028 #ACCD38 #C0D969 #D5E69A

Accessibility & contrast

On white

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

On black

11.54
#ACCD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCD38
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCD38#FFFFFF#000000##000000
##ACCD381.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C11A
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#B5C2B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #accd38;
/* rgb */ color: rgb(172, 205, 56);
/* oklch */ color: oklch(79.7% 0.172 121.5);
Tailwind
colors: {
  custom: {
    50: '#c8dc79',
    500: '#accd38',
    950: '#000000',
  },
}
SCSS
$custom: #accd38;
$custom-light: #c8dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#accd38",
  "rgb": {
    "r": 172,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 73.289,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79739,
    "c": 0.17233,
    "h": 121.5
  },
  "luminance": 0.52719
}

Semantic roles & 50–950 ramp

primary
#ACCD38
secondary
#413178
accent
#45E368
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #ACCD38

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

Preview Lab → · Contrast checker → · Palette generator →

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