#A6CB42#A6CB42

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

Color values

HEX#A6CB42
RGBrgb(166, 203, 66)
HSLhsl(76, 57%, 53%)
HSVhsv(76, 67%, 80%)
CMYKcmyk(18.2%, 0%, 67.5%, 20.4%)
CIE-LABlab(76.81, -31.48, 61.45)
CIE-LCHlch(76.81, 69.04, 117.12°)
OKLaboklab(78.93% -0.0912 0.1388)
OKLCHoklch(78.93% 0.166 123.3)
XYZxyz(38.0656, 51.2120, 13.0327)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CB42 #6742CB
analogous
#CBAB42 #A6CB42 #62CB42
triadic
#A6CB42 #42A6CB #CB42A6
tetradic
#A6CB42 #42CBAB #6742CB #CB4262
square
#A6CB42 #42CBAB #6742CB #CB4262
split-complementary
#A6CB42 #4262CB #AB42CB
monochromatic
#5C7320 #83A32D #A6CB42 #BDD872 #D3E5A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6CB42#FFFFFF#000000##000000
##A6CB421.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)
#D6BF2E
Deuteranopia (green-blind)
#D2BD4D
Tritanopia (blue-blind)
#AEC1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cb42;
/* rgb */ color: rgb(166, 203, 66);
/* oklch */ color: oklch(78.9% 0.166 123.3);
Tailwind
colors: {
  custom: {
    50: '#c4db7e',
    500: '#a6cb42',
    950: '#000000',
  },
}
SCSS
$custom: #a6cb42;
$custom-light: #c4db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cb42",
  "rgb": {
    "r": 166,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 76.204,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78931,
    "c": 0.16608,
    "h": 123.3
  },
  "luminance": 0.51212
}

Semantic roles & 50–950 ramp

primary
#A6CB42
secondary
#48357C
accent
#48E071
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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