#A6CB45#A6CB45

#A6CB45 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.0% C 0.164 H 123.4°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#A6CB45
RGBrgb(166, 203, 69)
HSLhsl(77, 56%, 53%)
HSVhsv(77, 66%, 80%)
CMYKcmyk(18.2%, 0%, 66%, 20.4%)
CIE-LABlab(76.83, -31.28, 60.29)
CIE-LCHlch(76.83, 67.93, 117.42°)
OKLaboklab(78.96% -0.0904 0.1368)
OKLCHoklch(78.96% 0.164 123.4)
XYZxyz(38.1563, 51.2483, 13.5108)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CB45 #6A45CB
analogous
#CBAD45 #A6CB45 #63CB45
triadic
#A6CB45 #45A6CB #CB45A6
tetradic
#A6CB45 #45CBAD #6A45CB #CB4563
square
#A6CB45 #45CBAD #6A45CB #CB4563
split-complementary
#A6CB45 #4563CB #AD45CB
monochromatic
#5E7521 #84A52E #A6CB45 #BDD875 #D4E6A5

Accessibility & contrast

On white

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

On black

11.25
#A6CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CB45
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CB45#FFFFFF#000000##000000
##A6CB451.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6cb45;
/* rgb */ color: rgb(166, 203, 69);
/* oklch */ color: oklch(79.0% 0.164 123.4);
Tailwind
colors: {
  custom: {
    50: '#c4db7f',
    500: '#a6cb45',
    950: '#000000',
  },
}
SCSS
$custom: #a6cb45;
$custom-light: #c4db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cb45",
  "rgb": {
    "r": 166,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 76.567,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78956,
    "c": 0.16397,
    "h": 123.4
  },
  "luminance": 0.51249
}

Semantic roles & 50–950 ramp

primary
#A6CB45
secondary
#4A377E
accent
#48E072
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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