#A6CB48#A6CB48

#A6CB48 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.0% C 0.162 H 123.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#A6CB48
RGBrgb(166, 203, 72)
HSLhsl(77, 56%, 54%)
HSVhsv(77, 65%, 80%)
CMYKcmyk(18.2%, 0%, 64.5%, 20.4%)
CIE-LABlab(76.85, -31.07, 59.11)
CIE-LCHlch(76.85, 66.78, 117.73°)
OKLaboklab(78.98% -0.0895 0.1348)
OKLCHoklch(78.98% 0.162 123.6)
XYZxyz(38.2518, 51.2865, 14.0137)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CB48 #6D48CB
analogous
#CBAF48 #A6CB48 #65CB48
triadic
#A6CB48 #48A6CB #CB48A6
tetradic
#A6CB48 #48CBAF #6D48CB #CB4865
square
#A6CB48 #48CBAF #6D48CB #CB4865
split-complementary
#A6CB48 #4865CB #AF48CB
monochromatic
#5F7722 #85A62F #A6CB48 #BDD978 #D4E6A7

Accessibility & contrast

On white

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

On black

11.26
#A6CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CB48
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CB48#FFFFFF#000000##000000
##A6CB481.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF37
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#AEC1B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cb48;
/* rgb */ color: rgb(166, 203, 72);
/* oklch */ color: oklch(79.0% 0.162 123.6);
Tailwind
colors: {
  custom: {
    50: '#c3db81',
    500: '#a6cb48',
    950: '#000000',
  },
}
SCSS
$custom: #a6cb48;
$custom-light: #c3db81;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cb48",
  "rgb": {
    "r": 166,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 76.947,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78982,
    "c": 0.16177,
    "h": 123.6
  },
  "luminance": 0.51287
}

Semantic roles & 50–950 ramp

primary
#A6CB48
secondary
#4C387F
accent
#49DF73
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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