#A6BC2A#A6BC2A

#A6BC2A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.163 H 118.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#A6BC2A
RGBrgb(166, 188, 42)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 78%, 74%)
CMYKcmyk(11.7%, 0%, 77.7%, 26.3%)
CIE-LABlab(72.39, -25.61, 65.50)
CIE-LCHlch(72.39, 70.32, 111.35°)
OKLaboklab(75.32% -0.077 0.1435)
OKLCHoklch(75.32% 0.163 118.2)
XYZxyz(34.1278, 44.2409, 8.9315)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC2A #402ABC
analogous
#BC892A #A6BC2A #5DBC2A
triadic
#A6BC2A #2AA6BC #BC2AA6
tetradic
#A6BC2A #2ABC89 #402ABC #BC2A5D
square
#A6BC2A #2ABC89 #402ABC #BC2A5D
split-complementary
#A6BC2A #2A5DBC #892ABC
monochromatic
#4E5814 #7A8A1F #A6BC2A #C2D74C #D3E27E

Accessibility & contrast

On white

2.13
#A6BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#A6BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC2A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC2A#FFFFFF#000000##000000
##A6BC2A1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bc2a;
/* rgb */ color: rgb(166, 188, 42);
/* oklch */ color: oklch(75.3% 0.163 118.2);
Tailwind
colors: {
  custom: {
    50: '#c4d070',
    500: '#a6bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc2a;
$custom-light: #c4d070;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc2a",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 69.041,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75323,
    "c": 0.16285,
    "h": 118.2
  },
  "luminance": 0.44241
}

Semantic roles & 50–950 ramp

primary
#A6BC2A
secondary
#8477CB
accent
#41E75A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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