#ACC252#ACC252

#ACC252 is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.5% C 0.140 H 119.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#ACC252
RGBrgb(172, 194, 82)
HSLhsl(72, 48%, 54%)
HSVhsv(72, 58%, 76%)
CMYKcmyk(11.3%, 0%, 57.7%, 23.9%)
CIE-LABlab(74.80, -23.60, 52.70)
CIE-LCHlch(74.80, 57.74, 114.12°)
OKLaboklab(77.46% -0.0681 0.1223)
OKLCHoklch(77.46% 0.14 119.1)
XYZxyz(37.8285, 47.9636, 15.2461)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC252 #6852C2
analogous
#C2A052 #ACC252 #74C252
triadic
#ACC252 #52ACC2 #C252AC
tetradic
#ACC252 #52C2A0 #6852C2 #C25274
square
#ACC252 #52C2A0 #6852C2 #C25274
split-complementary
#ACC252 #5274C2 #A052C2
monochromatic
#637228 #8B9F38 #ACC252 #C2D27F #D7E2AC

Accessibility & contrast

On white

1.98
#ACC252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#ACC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC252
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC252#FFFFFF#000000##000000
##ACC2521.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#CBB959
Tritanopia (blue-blind)
#B5B9AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc252;
/* rgb */ color: rgb(172, 194, 82);
/* oklch */ color: oklch(77.5% 0.140 119.1);
Tailwind
colors: {
  custom: {
    50: '#c7d487',
    500: '#acc252',
    950: '#000000',
  },
}
SCSS
$custom: #acc252;
$custom-light: #c7d487;
$custom-dark: #000000;
JSON
{
  "hex": "#acc252",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 71.786,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.13997,
    "h": 119.1
  },
  "luminance": 0.47963
}

Semantic roles & 50–950 ramp

primary
#ACC252
secondary
#A9A0D0
accent
#50D76B
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140B
muted
#82837C

Preview Lab

Preview with #ACC252

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

Preview Lab → · Contrast checker → · Palette generator →

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