#A6BC2D#A6BC2D

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

Color values

HEX#A6BC2D
RGBrgb(166, 188, 45)
HSLhsl(69, 61%, 46%)
HSVhsv(69, 76%, 74%)
CMYKcmyk(11.7%, 0%, 76.1%, 26.3%)
CIE-LABlab(72.40, -25.48, 64.58)
CIE-LCHlch(72.40, 69.42, 111.53°)
OKLaboklab(75.34% -0.0764 0.1421)
OKLCHoklch(75.34% 0.161 118.3)
XYZxyz(34.1835, 44.2632, 9.2250)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC2D #432DBC
analogous
#BC8A2D #A6BC2D #5EBC2D
triadic
#A6BC2D #2DA6BC #BC2DA6
tetradic
#A6BC2D #2DBC8A #432DBC #BC2D5E
square
#A6BC2D #2DBC8A #432DBC #BC2D5E
split-complementary
#A6BC2D #2D5EBC #8A2DBC
monochromatic
#4F5915 #7A8B21 #A6BC2D #C1D551 #D3E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BC2D#FFFFFF#000000##000000
##A6BC2D1.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)
#C9B106
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc2d;
/* rgb */ color: rgb(166, 188, 45);
/* oklch */ color: oklch(75.3% 0.161 118.3);
Tailwind
colors: {
  custom: {
    50: '#c4d072',
    500: '#a6bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc2d;
$custom-light: #c4d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc2d",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 69.231,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7534,
    "c": 0.16132,
    "h": 118.3
  },
  "luminance": 0.44263
}

Semantic roles & 50–950 ramp

primary
#A6BC2D
secondary
#877BCA
accent
#43E45C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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