#A8B552#A8B552

#A8B552 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.2% C 0.125 H 115.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A8B552
RGBrgb(168, 181, 82)
HSLhsl(68, 40%, 52%)
HSVhsv(68, 55%, 71%)
CMYKcmyk(7.2%, 0%, 54.7%, 29%)
CIE-LABlab(70.86, -18.77, 48.14)
CIE-LCHlch(70.86, 51.67, 111.31°)
OKLaboklab(74.23% -0.0543 0.1126)
OKLCHoklch(74.23% 0.125 115.7)
XYZxyz(34.1959, 41.9822, 14.2830)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B552 #5F52B5
analogous
#B59152 #A8B552 #77B552
triadic
#A8B552 #52A8B5 #B552A8
tetradic
#A8B552 #52B591 #5F52B5 #B55277
square
#A8B552 #52B591 #5F52B5 #B55277
split-complementary
#A8B552 #5277B5 #9152B5
monochromatic
#5B622A #838D3C #A8B552 #BEC77D #D3DAA8

Accessibility & contrast

On white

2.23
#A8B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A8B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B552
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B552#FFFFFF#000000##000000
##A8B5521.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b552;
/* rgb */ color: rgb(168, 181, 82);
/* oklch */ color: oklch(74.2% 0.125 115.7);
Tailwind
colors: {
  custom: {
    50: '#c4cb86',
    500: '#a8b552',
    950: '#000000',
  },
}
SCSS
$custom: #a8b552;
$custom-light: #c4cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b552",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 67.879,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.12497,
    "h": 115.7
  },
  "luminance": 0.41982
}

Semantic roles & 50–950 ramp

primary
#A8B552
secondary
#A19CC7
accent
#58D068
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A8B552

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

Preview Lab → · Contrast checker → · Palette generator →

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