#AAA828#AAA828

#AAA828 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.142 H 108.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AAA828
RGBrgb(170, 168, 40)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 76%, 67%)
CMYKcmyk(0%, 1.2%, 76.5%, 33.3%)
CIE-LABlab(67.06, -13.96, 61.36)
CIE-LCHlch(67.06, 62.92, 102.81°)
OKLaboklab(71.12% -0.0451 0.1342)
OKLCHoklch(71.12% 0.142 108.6)
XYZxyz(30.9644, 36.7055, 7.4609)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA828 #282AAA
analogous
#AA6728 #AAA828 #6BAA28
triadic
#AAA828 #28AAA8 #A828AA
tetradic
#AAA828 #28AA67 #282AAA #AA286B
square
#AAA828 #28AA67 #282AAA #AA286B
split-complementary
#AAA828 #286BAA #6728AA
monochromatic
#474611 #78771C #AAA828 #D2CF3E #DDDB6F

Accessibility & contrast

On white

2.52
#AAA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#AAA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA828
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA828#FFFFFF#000000##000000
##AAA8281.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B79D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa828;
/* rgb */ color: rgb(170, 168, 40);
/* oklch */ color: oklch(71.1% 0.142 108.6);
Tailwind
colors: {
  custom: {
    50: '#c7c16d',
    500: '#aaa828',
    950: '#000000',
  },
}
SCSS
$custom: #aaa828;
$custom-light: #c7c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa828",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 59.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.14158,
    "h": 108.6
  },
  "luminance": 0.36705
}

Semantic roles & 50–950 ramp

primary
#AAA828
secondary
#6A6BC4
accent
#45E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAA828

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

Preview Lab → · Contrast checker → · Palette generator →

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