#A6CA2B#A6CA2B

#A6CA2B is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.6% C 0.178 H 122.2°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#A6CA2B
RGBrgb(166, 202, 43)
HSLhsl(74, 65%, 48%)
HSVhsv(74, 79%, 79%)
CMYKcmyk(17.8%, 0%, 78.7%, 20.8%)
CIE-LABlab(76.39, -32.22, 68.84)
CIE-LCHlch(76.39, 76.00, 115.08°)
OKLaboklab(78.55% -0.0951 0.1507)
OKLCHoklch(78.55% 0.178 122.2)
XYZxyz(37.2830, 50.5224, 10.0727)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CA2B #4F2BCA
analogous
#CA9E2B #A6CA2B #56CA2B
triadic
#A6CA2B #2BA6CA #CA2BA6
tetradic
#A6CA2B #2BCA9E #4F2BCA #CA2B56
square
#A6CA2B #2BCA9E #4F2BCA #CA2B56
split-complementary
#A6CA2B #2B56CA #9E2BCA
monochromatic
#536516 #7D9820 #A6CA2B #BDDB57 #D1E689

Accessibility & contrast

On white

1.89
#A6CA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#A6CA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CA2B
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CA2B#FFFFFF#000000##000000
##A6CA2B1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D2BC3B
Tritanopia (blue-blind)
#AFBFAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a6ca2b;
/* rgb */ color: rgb(166, 202, 43);
/* oklch */ color: oklch(78.6% 0.178 122.2);
Tailwind
colors: {
  custom: {
    50: '#c4da72',
    500: '#a6ca2b',
    950: '#000000',
  },
}
SCSS
$custom: #a6ca2b;
$custom-light: #c4da72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ca2b",
  "rgb": {
    "r": 166,
    "g": 202,
    "b": 43
  },
  "hsl": {
    "h": 73.585,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78551,
    "c": 0.17822,
    "h": 122.2
  },
  "luminance": 0.50522
}

Semantic roles & 50–950 ramp

primary
#A6CA2B
secondary
#3A2A6F
accent
#40E866
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131409
muted
#83837D

Preview Lab

Preview with #A6CA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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