#ACCA42#ACCA42

#ACCA42 is a light, vivid yellow-green. Relative luminance 0.514; OKLCH L 79.1% C 0.162 H 121.0°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#ACCA42
RGBrgb(172, 202, 66)
HSLhsl(73, 56%, 53%)
HSVhsv(73, 67%, 79%)
CMYKcmyk(14.9%, 0%, 67.3%, 20.8%)
CIE-LABlab(76.92, -28.61, 61.69)
CIE-LCHlch(76.92, 68.01, 114.88°)
OKLaboklab(79.13% -0.0836 0.1392)
OKLCHoklch(79.13% 0.162 121)
XYZxyz(39.1177, 51.4051, 13.0146)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCA42 #6042CA
analogous
#CAA442 #ACCA42 #68CA42
triadic
#ACCA42 #42ACCA #CA42AC
tetradic
#ACCA42 #42CAA4 #6042CA #CA4268
square
#ACCA42 #42CAA4 #6042CA #CA4268
split-complementary
#ACCA42 #4268CA #A442CA
monochromatic
#607220 #88A22D #ACCA42 #C1D772 #D6E5A2

Accessibility & contrast

On white

1.86
#ACCA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#ACCA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCA42
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCA42#FFFFFF#000000##000000
##ACCA421.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#B5C0AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #acca42;
/* rgb */ color: rgb(172, 202, 66);
/* oklch */ color: oklch(79.1% 0.162 121.0);
Tailwind
colors: {
  custom: {
    50: '#c8da7e',
    500: '#acca42',
    950: '#000000',
  },
}
SCSS
$custom: #acca42;
$custom-light: #c8da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#acca42",
  "rgb": {
    "r": 172,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 73.235,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79127,
    "c": 0.16239,
    "h": 121
  },
  "luminance": 0.51405
}

Semantic roles & 50–950 ramp

primary
#ACCA42
secondary
#45357B
accent
#48DF6A
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #ACCA42

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

Preview Lab → · Contrast checker → · Palette generator →

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