#A6BB2A#A6BB2A

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

Color values

HEX#A6BB2A
RGBrgb(166, 187, 42)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 78%, 73%)
CMYKcmyk(11.2%, 0%, 77.5%, 26.7%)
CIE-LABlab(72.10, -25.12, 65.24)
CIE-LCHlch(72.10, 69.91, 111.06°)
OKLaboklab(75.1% -0.0757 0.1429)
OKLCHoklch(75.1% 0.162 117.9)
XYZxyz(33.9149, 43.8152, 8.8606)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB2A #3F2ABB
analogous
#BB882A #A6BB2A #5DBB2A
triadic
#A6BB2A #2AA6BB #BB2AA6
tetradic
#A6BB2A #2ABB88 #3F2ABB #BB2A5D
square
#A6BB2A #2ABB88 #3F2ABB #BB2A5D
split-complementary
#A6BB2A #2A5DBB #882ABB
monochromatic
#4D5714 #7A891F #A6BB2A #C3D74C #D3E27D

Accessibility & contrast

On white

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

On black

9.76
#A6BB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB2A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB2A#FFFFFF#000000##000000
##A6BB2A1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6bb2a;
/* rgb */ color: rgb(166, 187, 42);
/* oklch */ color: oklch(75.1% 0.162 117.9);
Tailwind
colors: {
  custom: {
    50: '#c4cf70',
    500: '#a6bb2a',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb2a;
$custom-light: #c4cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb2a",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 42
  },
  "hsl": {
    "h": 68.69,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75095,
    "c": 0.16174,
    "h": 117.9
  },
  "luminance": 0.43815
}

Semantic roles & 50–950 ramp

primary
#A6BB2A
secondary
#8376CA
accent
#41E659
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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