#A6BB20#A6BB20

#A6BB20 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.0% C 0.166 H 117.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A6BB20
RGBrgb(166, 187, 32)
HSLhsl(68, 71%, 43%)
HSVhsv(68, 83%, 73%)
CMYKcmyk(11.2%, 0%, 82.9%, 26.7%)
CIE-LABlab(72.06, -25.49, 67.95)
CIE-LCHlch(72.06, 72.57, 110.56°)
OKLaboklab(75.05% -0.0774 0.147)
OKLCHoklch(75.05% 0.166 117.8)
XYZxyz(33.7578, 43.7523, 8.0329)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB20 #3520BB
analogous
#BB8220 #A6BB20 #58BB20
triadic
#A6BB20 #20A6BB #BB20A6
tetradic
#A6BB20 #20BB82 #3520BB #BB2058
square
#A6BB20 #20BB82 #3520BB #BB2058
split-complementary
#A6BB20 #2058BB #8220BB
monochromatic
#49520E #788717 #A6BB20 #C7DD3B #D6E66F

Accessibility & contrast

On white

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

On black

9.75
#A6BB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB20
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB20#FFFFFF#000000##000000
##A6BB201.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B131
Tritanopia (blue-blind)
#B1B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb20;
/* rgb */ color: rgb(166, 187, 32);
/* oklch */ color: oklch(75.0% 0.166 117.8);
Tailwind
colors: {
  custom: {
    50: '#c4cf6c',
    500: '#a6bb20',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb20;
$custom-light: #c4cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb20",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 32
  },
  "hsl": {
    "h": 68.129,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.75047,
    "c": 0.16617,
    "h": 117.8
  },
  "luminance": 0.43752
}

Semantic roles & 50–950 ramp

primary
#A6BB20
secondary
#776ACD
accent
#3AEE53
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6BB20

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

Preview Lab → · Contrast checker → · Palette generator →

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