#A6BD2C#A6BD2C

#A6BD2C is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.163 H 118.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#A6BD2C
RGBrgb(166, 189, 44)
HSLhsl(70, 62%, 46%)
HSVhsv(70, 77%, 74%)
CMYKcmyk(12.2%, 0%, 76.7%, 25.9%)
CIE-LABlab(72.68, -26.01, 65.15)
CIE-LCHlch(72.68, 70.15, 111.76°)
OKLaboklab(75.56% -0.078 0.1431)
OKLCHoklch(75.56% 0.163 118.6)
XYZxyz(34.3789, 44.6843, 9.1962)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BD2C #432CBD
analogous
#BD8B2C #A6BD2C #5DBD2C
triadic
#A6BD2C #2CA6BD #BD2CA6
tetradic
#A6BD2C #2CBD8B #432CBD #BD2C5D
square
#A6BD2C #2CBD8B #432CBD #BD2C5D
split-complementary
#A6BD2C #2C5DBD #8B2CBD
monochromatic
#4F5A15 #7A8B20 #A6BD2C #C1D650 #D3E282

Accessibility & contrast

On white

2.11
#A6BD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#A6BD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BD2C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BD2C#FFFFFF#000000##000000
##A6BD2C1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB202
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#B0B2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bd2c;
/* rgb */ color: rgb(166, 189, 44);
/* oklch */ color: oklch(75.6% 0.163 118.6);
Tailwind
colors: {
  custom: {
    50: '#c4d071',
    500: '#a6bd2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6bd2c;
$custom-light: #c4d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bd2c",
  "rgb": {
    "r": 166,
    "g": 189,
    "b": 44
  },
  "hsl": {
    "h": 69.517,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75563,
    "c": 0.16297,
    "h": 118.6
  },
  "luminance": 0.44684
}

Semantic roles & 50–950 ramp

primary
#A6BD2C
secondary
#877ACB
accent
#42E55C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6BD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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