#AAA852#AAA852

#AAA852 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.109 H 107.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AAA852
RGBrgb(170, 168, 82)
HSLhsl(59, 35%, 49%)
HSVhsv(59, 52%, 67%)
CMYKcmyk(0%, 1.2%, 51.8%, 33.3%)
CIE-LABlab(67.40, -11.26, 44.15)
CIE-LCHlch(67.40, 45.57, 104.31°)
OKLaboklab(71.5% -0.0331 0.1039)
OKLCHoklch(71.5% 0.109 107.7)
XYZxyz(32.1040, 37.1614, 13.4627)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA852 #5254AA
analogous
#AA7C52 #AAA852 #80AA52
triadic
#AAA852 #52AAA8 #A852AA
tetradic
#AAA852 #52AA7C #5254AA #AA5280
square
#AAA852 #52AA7C #5254AA #AA5280
split-complementary
#AAA852 #5280AA #7C52AA
monochromatic
#57562A #817F3E #AAA852 #BFBD7A #D3D2A4

Accessibility & contrast

On white

2.49
#AAA852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AAA852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA852
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA852#FFFFFF#000000##000000
##AAA8521.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#B6A656
Tritanopia (blue-blind)
#B59F94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa852;
/* rgb */ color: rgb(170, 168, 82);
/* oklch */ color: oklch(71.5% 0.109 107.7);
Tailwind
colors: {
  custom: {
    50: '#c5c185',
    500: '#aaa852',
    950: '#000000',
  },
}
SCSS
$custom: #aaa852;
$custom-light: #c5c185;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa852",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 58.636,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71504,
    "c": 0.10906,
    "h": 107.7
  },
  "luminance": 0.37161
}

Semantic roles & 50–950 ramp

primary
#AAA852
secondary
#9899C0
accent
#5FCB5D
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA852

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

Preview Lab → · Contrast checker → · Palette generator →

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