#ACCC39#ACCC39

#ACCC39 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.5% C 0.171 H 121.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#ACCC39
RGBrgb(172, 204, 57)
HSLhsl(73, 59%, 51%)
HSVhsv(73, 72%, 80%)
CMYKcmyk(15.7%, 0%, 72.1%, 20%)
CIE-LABlab(77.43, -30.08, 65.51)
CIE-LCHlch(77.43, 72.09, 114.66°)
OKLaboklab(79.52% -0.0885 0.1458)
OKLCHoklch(79.52% 0.171 121.2)
XYZxyz(39.3453, 52.2518, 11.8829)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCC39 #5939CC
analogous
#CCA239 #ACCC39 #62CC39
triadic
#ACCC39 #39ACCC #CC39AC
tetradic
#ACCC39 #39CCA2 #5939CC #CC3962
square
#ACCC39 #39CCA2 #5939CC #CC3962
split-complementary
#ACCC39 #3962CC #A239CC
monochromatic
#5C6E1C #859F29 #ACCC39 #C0D96A #D5E59A

Accessibility & contrast

On white

1.83
#ACCC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#ACCC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCC39
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCC39#FFFFFF#000000##000000
##ACCC391.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C01D
Deuteranopia (green-blind)
#D5BF46
Tritanopia (blue-blind)
#B5C1B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #accc39;
/* rgb */ color: rgb(172, 204, 57);
/* oklch */ color: oklch(79.5% 0.171 121.2);
Tailwind
colors: {
  custom: {
    50: '#c8db79',
    500: '#accc39',
    950: '#000000',
  },
}
SCSS
$custom: #accc39;
$custom-light: #c8db79;
$custom-dark: #000000;
JSON
{
  "hex": "#accc39",
  "rgb": {
    "r": 172,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 73.061,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79517,
    "c": 0.17057,
    "h": 121.2
  },
  "luminance": 0.52252
}

Semantic roles & 50–950 ramp

primary
#ACCC39
secondary
#413278
accent
#46E268
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #ACCC39

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

Preview Lab → · Contrast checker → · Palette generator →

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