#A6BB2C#A6BB2C

#A6BB2C is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.1% C 0.161 H 117.9°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A6BB2C
RGBrgb(166, 187, 44)
HSLhsl(69, 62%, 45%)
HSVhsv(69, 76%, 73%)
CMYKcmyk(11.2%, 0%, 76.5%, 26.7%)
CIE-LABlab(72.11, -25.04, 64.63)
CIE-LCHlch(72.11, 69.31, 111.18°)
OKLaboklab(75.11% -0.0753 0.142)
OKLCHoklch(75.11% 0.161 117.9)
XYZxyz(33.9516, 43.8298, 9.0538)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB2C #412CBB
analogous
#BB882C #A6BB2C #5FBB2C
triadic
#A6BB2C #2CA6BB #BB2CA6
tetradic
#A6BB2C #2CBB88 #412CBB #BB2C5F
square
#A6BB2C #2CBB88 #412CBB #BB2C5F
split-complementary
#A6BB2C #2C5FBB #882CBB
monochromatic
#4E5815 #7A8920 #A6BB2C #C2D64F #D3E180

Accessibility & contrast

On white

2.15
#A6BB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A6BB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB2C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB2C#FFFFFF#000000##000000
##A6BB2C1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B004
Deuteranopia (green-blind)
#C6B139
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb2c;
/* rgb */ color: rgb(166, 187, 44);
/* oklch */ color: oklch(75.1% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#c4cf71',
    500: '#a6bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb2c;
$custom-light: #c4cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb2c",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 68.811,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75106,
    "c": 0.16072,
    "h": 117.9
  },
  "luminance": 0.43829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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