#ACC152#ACC152

#ACC152 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 77.2% C 0.139 H 118.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#ACC152
RGBrgb(172, 193, 82)
HSLhsl(71, 47%, 54%)
HSVhsv(71, 58%, 76%)
CMYKcmyk(10.9%, 0%, 57.5%, 24.3%)
CIE-LABlab(74.52, -23.11, 52.38)
CIE-LCHlch(74.52, 57.26, 113.81°)
OKLaboklab(77.24% -0.0667 0.1216)
OKLCHoklch(77.24% 0.139 118.8)
XYZxyz(37.6067, 47.5200, 15.1721)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC152 #6752C1
analogous
#C19F52 #ACC152 #75C152
triadic
#ACC152 #52ACC1 #C152AC
tetradic
#ACC152 #52C19F #6752C1 #C15275
square
#ACC152 #52C19F #6752C1 #C15275
split-complementary
#ACC152 #5275C1 #9F52C1
monochromatic
#637028 #8A9D38 #ACC152 #C2D17F #D7E1AC

Accessibility & contrast

On white

2.00
#ACC152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#ACC152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC152
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC152#FFFFFF#000000##000000
##ACC1521.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CAB859
Tritanopia (blue-blind)
#B5B8A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc152;
/* rgb */ color: rgb(172, 193, 82);
/* oklch */ color: oklch(77.2% 0.139 118.8);
Tailwind
colors: {
  custom: {
    50: '#c7d386',
    500: '#acc152',
    950: '#000000',
  },
}
SCSS
$custom: #acc152;
$custom-light: #c7d386;
$custom-dark: #000000;
JSON
{
  "hex": "#acc152",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 71.351,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77238,
    "c": 0.13871,
    "h": 118.8
  },
  "luminance": 0.4752
}

Semantic roles & 50–950 ramp

primary
#ACC152
secondary
#A9A0CF
accent
#51D76A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #ACC152

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

Preview Lab → · Contrast checker → · Palette generator →

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