#A2CB48#A2CB48

#A2CB48 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.7% C 0.164 H 124.9°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#A2CB48
RGBrgb(162, 203, 72)
HSLhsl(79, 56%, 54%)
HSVhsv(79, 65%, 80%)
CMYKcmyk(20.2%, 0%, 64.5%, 20.4%)
CIE-LABlab(76.59, -32.64, 58.76)
CIE-LCHlch(76.59, 67.22, 119.05°)
OKLaboklab(78.71% -0.0936 0.1341)
OKLCHoklch(78.71% 0.164 124.9)
XYZxyz(37.4261, 50.8608, 13.9750)
Luminance0.5086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CB48 #7148CB
analogous
#CBB348 #A2CB48 #61CB48
triadic
#A2CB48 #48A2CB #CB48A2
tetradic
#A2CB48 #48CBB3 #7148CB #CB4861
square
#A2CB48 #48CBB3 #7148CB #CB4861
split-complementary
#A2CB48 #4861CB #B348CB
monochromatic
#5C7722 #81A62F #A2CB48 #BAD978 #D2E6A7

Accessibility & contrast

On white

1.88
#A2CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#A2CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CB48
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CB48#FFFFFF#000000##000000
##A2CB481.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE37
Deuteranopia (green-blind)
#D0BD52
Tritanopia (blue-blind)
#A9C2B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a2cb48;
/* rgb */ color: rgb(162, 203, 72);
/* oklch */ color: oklch(78.7% 0.164 124.9);
Tailwind
colors: {
  custom: {
    50: '#c1db81',
    500: '#a2cb48',
    950: '#000000',
  },
}
SCSS
$custom: #a2cb48;
$custom-light: #c1db81;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cb48",
  "rgb": {
    "r": 162,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 78.779,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78707,
    "c": 0.16352,
    "h": 124.9
  },
  "luminance": 0.50861
}

Semantic roles & 50–950 ramp

primary
#A2CB48
secondary
#4E387F
accent
#49DF78
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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