#A6CA42#A6CA42

#A6CA42 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.7% C 0.165 H 123.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#A6CA42
RGBrgb(166, 202, 66)
HSLhsl(76, 56%, 53%)
HSVhsv(76, 67%, 79%)
CMYKcmyk(17.8%, 0%, 67.3%, 20.8%)
CIE-LABlab(76.52, -31.01, 61.15)
CIE-LCHlch(76.52, 68.57, 116.89°)
OKLaboklab(78.7% -0.0899 0.1382)
OKLCHoklch(78.7% 0.165 123)
XYZxyz(37.8302, 50.7412, 12.9542)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CA42 #6642CA
analogous
#CAAA42 #A6CA42 #62CA42
triadic
#A6CA42 #42A6CA #CA42A6
tetradic
#A6CA42 #42CAAA #6642CA #CA4262
square
#A6CA42 #42CAAA #6642CA #CA4262
split-complementary
#A6CA42 #4262CA #AA42CA
monochromatic
#5C7220 #83A22D #A6CA42 #BDD772 #D3E5A2

Accessibility & contrast

On white

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

On black

11.15
#A6CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CA42
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CA42#FFFFFF#000000##000000
##A6CA421.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2E
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#AEC0AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a6ca42;
/* rgb */ color: rgb(166, 202, 66);
/* oklch */ color: oklch(78.7% 0.165 123.0);
Tailwind
colors: {
  custom: {
    50: '#c4da7e',
    500: '#a6ca42',
    950: '#000000',
  },
}
SCSS
$custom: #a6ca42;
$custom-light: #c4da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ca42",
  "rgb": {
    "r": 166,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 75.882,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78701,
    "c": 0.16486,
    "h": 123
  },
  "luminance": 0.50741
}

Semantic roles & 50–950 ramp

primary
#A6CA42
secondary
#48357B
accent
#48DF70
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13140A
muted
#82837D

Preview Lab

Preview with #A6CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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