#A6BF2C#A6BF2C

#A6BF2C is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.0% C 0.165 H 119.2°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#A6BF2C
RGBrgb(166, 191, 44)
HSLhsl(70, 63%, 46%)
HSVhsv(70, 77%, 75%)
CMYKcmyk(13.1%, 0%, 77%, 25.1%)
CIE-LABlab(73.25, -26.97, 65.68)
CIE-LCHlch(73.25, 71.00, 112.33°)
OKLaboklab(76.02% -0.0806 0.1442)
OKLCHoklch(76.02% 0.165 119.2)
XYZxyz(34.8121, 45.5507, 9.3406)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF2C #452CBF
analogous
#BF8E2C #A6BF2C #5CBF2C
triadic
#A6BF2C #2CA6BF #BF2CA6
tetradic
#A6BF2C #2CBF8E #452CBF #BF2C5C
square
#A6BF2C #2CBF8E #452CBF #BF2C5C
split-complementary
#A6BF2C #2C5CBF #8E2CBF
monochromatic
#505C15 #7B8D21 #A6BF2C #C0D751 #D2E283

Accessibility & contrast

On white

2.08
#A6BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#A6BF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF2C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF2C#FFFFFF#000000##000000
##A6BF2C1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B43A
Tritanopia (blue-blind)
#B0B4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bf2c;
/* rgb */ color: rgb(166, 191, 44);
/* oklch */ color: oklch(76.0% 0.165 119.2);
Tailwind
colors: {
  custom: {
    50: '#c4d271',
    500: '#a6bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf2c;
$custom-light: #c4d271;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf2c",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 70.204,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76022,
    "c": 0.16522,
    "h": 119.2
  },
  "luminance": 0.4555
}

Semantic roles & 50–950 ramp

primary
#A6BF2C
secondary
#897BCC
accent
#42E65E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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