#A6B552#A6B552

#A6B552 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.126 H 116.7°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#A6B552
RGBrgb(166, 181, 82)
HSLhsl(69, 40%, 52%)
HSVhsv(69, 55%, 71%)
CMYKcmyk(8.3%, 0%, 54.7%, 29%)
CIE-LABlab(70.71, -19.60, 47.92)
CIE-LCHlch(70.71, 51.77, 112.24°)
OKLaboklab(74.07% -0.0565 0.1121)
OKLCHoklch(74.07% 0.126 116.7)
XYZxyz(33.7733, 41.7643, 14.2631)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B552 #6152B5
analogous
#B59352 #A6B552 #75B552
triadic
#A6B552 #52A6B5 #B552A6
tetradic
#A6B552 #52B593 #6152B5 #B55275
square
#A6B552 #52B593 #6152B5 #B55275
split-complementary
#A6B552 #5275B5 #9352B5
monochromatic
#5A622A #818D3C #A6B552 #BCC77D #D2DAA8

Accessibility & contrast

On white

2.25
#A6B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#A6B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B552
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B552#FFFFFF#000000##000000
##A6B5521.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#BFAE58
Tritanopia (blue-blind)
#AFAC9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6b552;
/* rgb */ color: rgb(166, 181, 82);
/* oklch */ color: oklch(74.1% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#c2cb86',
    500: '#a6b552',
    950: '#000000',
  },
}
SCSS
$custom: #a6b552;
$custom-light: #c2cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b552",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 69.091,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7407,
    "c": 0.12556,
    "h": 116.7
  },
  "luminance": 0.41764
}

Semantic roles & 50–950 ramp

primary
#A6B552
secondary
#A29CC7
accent
#58D06A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A6B552

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

Preview Lab → · Contrast checker → · Palette generator →

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