#A6BB2B#A6BB2B

#A6BB2B 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.76:1 contrast (WCAG AA passes).

Color values

HEX#A6BB2B
RGBrgb(166, 187, 43)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 77%, 73%)
CMYKcmyk(11.2%, 0%, 77%, 26.7%)
CIE-LABlab(72.11, -25.08, 64.93)
CIE-LCHlch(72.11, 69.61, 111.12°)
OKLaboklab(75.1% -0.0755 0.1425)
OKLCHoklch(75.1% 0.161 117.9)
XYZxyz(33.9331, 43.8224, 8.9560)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB2B #402BBB
analogous
#BB882B #A6BB2B #5EBB2B
triadic
#A6BB2B #2BA6BB #BB2BA6
tetradic
#A6BB2B #2BBB88 #402BBB #BB2B5E
square
#A6BB2B #2BBB88 #402BBB #BB2B5E
split-complementary
#A6BB2B #2B5EBB #882BBB
monochromatic
#4E5714 #7A8920 #A6BB2B #C2D64D #D3E27F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BB2B#FFFFFF#000000##000000
##A6BB2B1.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)
#C6B139
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb2b;
/* rgb */ color: rgb(166, 187, 43);
/* oklch */ color: oklch(75.1% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#c4cf70',
    500: '#a6bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb2b;
$custom-light: #c4cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb2b",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 68.75,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.751,
    "c": 0.16124,
    "h": 117.9
  },
  "luminance": 0.43822
}

Semantic roles & 50–950 ramp

primary
#A6BB2B
secondary
#8478CA
accent
#42E65A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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