#ACCA2B#ACCA2B

#ACCA2B is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.0% C 0.176 H 120.3°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#ACCA2B
RGBrgb(172, 202, 43)
HSLhsl(71, 65%, 48%)
HSVhsv(71, 79%, 79%)
CMYKcmyk(14.9%, 0%, 78.7%, 20.8%)
CIE-LABlab(76.79, -29.79, 69.35)
CIE-LCHlch(76.79, 75.48, 113.24°)
OKLaboklab(78.98% -0.0887 0.1517)
OKLCHoklch(78.98% 0.176 120.3)
XYZxyz(38.5706, 51.1863, 10.1330)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCA2B #492BCA
analogous
#CA982B #ACCA2B #5CCA2B
triadic
#ACCA2B #2BACCA #CA2BAC
tetradic
#ACCA2B #2BCA98 #492BCA #CA2B5C
square
#ACCA2B #2BCA98 #492BCA #CA2B5C
split-complementary
#ACCA2B #2B5CCA #982BCA
monochromatic
#566516 #819820 #ACCA2B #C2DB57 #D5E689

Accessibility & contrast

On white

1.87
#ACCA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#ACCA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCA2B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCA2B#FFFFFF#000000##000000
##ACCA2B1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D3BE3B
Tritanopia (blue-blind)
#B6BFAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acca2b;
/* rgb */ color: rgb(172, 202, 43);
/* oklch */ color: oklch(79.0% 0.176 120.3);
Tailwind
colors: {
  custom: {
    50: '#c9da73',
    500: '#acca2b',
    950: '#000000',
  },
}
SCSS
$custom: #acca2b;
$custom-light: #c9da73;
$custom-dark: #000000;
JSON
{
  "hex": "#acca2b",
  "rgb": {
    "r": 172,
    "g": 202,
    "b": 43
  },
  "hsl": {
    "h": 71.321,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78979,
    "c": 0.17571,
    "h": 120.3
  },
  "luminance": 0.51186
}

Semantic roles & 50–950 ramp

primary
#ACCA2B
secondary
#372A6F
accent
#40E860
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ACCA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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