#A6BC2C#A6BC2C

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

Color values

HEX#A6BC2C
RGBrgb(166, 188, 44)
HSLhsl(69, 62%, 45%)
HSVhsv(69, 77%, 74%)
CMYKcmyk(11.7%, 0%, 76.6%, 26.3%)
CIE-LABlab(72.40, -25.52, 64.89)
CIE-LCHlch(72.40, 69.73, 111.47°)
OKLaboklab(75.33% -0.0766 0.1425)
OKLCHoklch(75.33% 0.162 118.3)
XYZxyz(34.1645, 44.2556, 9.1248)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC2C #422CBC
analogous
#BC8A2C #A6BC2C #5EBC2C
triadic
#A6BC2C #2CA6BC #BC2CA6
tetradic
#A6BC2C #2CBC8A #422CBC #BC2C5E
square
#A6BC2C #2CBC8A #422CBC #BC2C5E
split-complementary
#A6BC2C #2C5EBC #8A2CBC
monochromatic
#4E5915 #7A8A20 #A6BC2C #C1D64F #D3E181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BC2C#FFFFFF#000000##000000
##A6BC2C1.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)
#C9B103
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc2c;
/* rgb */ color: rgb(166, 188, 44);
/* oklch */ color: oklch(75.3% 0.162 118.3);
Tailwind
colors: {
  custom: {
    50: '#c4d071',
    500: '#a6bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc2c;
$custom-light: #c4d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc2c",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 69.167,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75334,
    "c": 0.16184,
    "h": 118.3
  },
  "luminance": 0.44255
}

Semantic roles & 50–950 ramp

primary
#A6BC2C
secondary
#8679CA
accent
#43E55B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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