#A4CC42#A4CC42

#A4CC42 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.0% C 0.168 H 124.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#A4CC42
RGBrgb(164, 204, 66)
HSLhsl(77, 58%, 53%)
HSVhsv(77, 68%, 80%)
CMYKcmyk(19.6%, 0%, 67.6%, 20%)
CIE-LABlab(76.96, -32.73, 61.57)
CIE-LCHlch(76.96, 69.73, 118.00°)
OKLaboklab(79.02% -0.0945 0.1391)
OKLCHoklch(79.02% 0.168 124.2)
XYZxyz(37.8864, 51.4713, 13.0922)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4CC42 #6A42CC
analogous
#CCAF42 #A4CC42 #5FCC42
triadic
#A4CC42 #42A4CC #CC42A4
tetradic
#A4CC42 #42CCAF #6A42CC #CC425F
square
#A4CC42 #42CCAF #6A42CC #CC425F
split-complementary
#A4CC42 #425FCC #AF42CC
monochromatic
#5C741F #82A42C #A4CC42 #BBD972 #D2E6A2

Accessibility & contrast

On white

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

On black

11.29
#A4CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4CC42
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4CC42#FFFFFF#000000##000000
##A4CC421.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4cc42;
/* rgb */ color: rgb(164, 204, 66);
/* oklch */ color: oklch(79.0% 0.168 124.2);
Tailwind
colors: {
  custom: {
    50: '#c2db7e',
    500: '#a4cc42',
    950: '#000000',
  },
}
SCSS
$custom: #a4cc42;
$custom-light: #c2db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4cc42",
  "rgb": {
    "r": 164,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 77.391,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79024,
    "c": 0.16819,
    "h": 124.2
  },
  "luminance": 0.51472
}

Semantic roles & 50–950 ramp

primary
#A4CC42
secondary
#4A357D
accent
#47E174
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A4CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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