#AAA028#AAA028

#AAA028 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.4% C 0.134 H 104.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AAA028
RGBrgb(170, 160, 40)
HSLhsl(55, 62%, 41%)
HSVhsv(55, 76%, 67%)
CMYKcmyk(0%, 5.9%, 76.5%, 33.3%)
CIE-LABlab(64.84, -9.78, 59.32)
CIE-LCHlch(64.84, 60.12, 99.36°)
OKLaboklab(69.35% -0.0334 0.1298)
OKLCHoklch(69.35% 0.134 104.4)
XYZxyz(29.5327, 33.8421, 6.9836)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA028 #2832AA
analogous
#AA5F28 #AAA028 #73AA28
triadic
#AAA028 #28AAA0 #A028AA
tetradic
#AAA028 #28AA5F #2832AA #AA2873
square
#AAA028 #28AA5F #2832AA #AA2873
split-complementary
#AAA028 #2873AA #5F28AA
monochromatic
#474311 #78711C #AAA028 #D2C63E #DDD56F

Accessibility & contrast

On white

2.70
#AAA028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AAA028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA028
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA028#FFFFFF#000000##000000
##AAA0281.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A0C
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#B79589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aaa028;
/* rgb */ color: rgb(170, 160, 40);
/* oklch */ color: oklch(69.4% 0.134 104.4);
Tailwind
colors: {
  custom: {
    50: '#c7bb6c',
    500: '#aaa028',
    950: '#000000',
  },
}
SCSS
$custom: #aaa028;
$custom-light: #c7bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa028",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 55.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69353,
    "c": 0.13408,
    "h": 104.4
  },
  "luminance": 0.33841
}

Semantic roles & 50–950 ramp

primary
#AAA028
secondary
#6A71C4
accent
#4FE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AAA028

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

Preview Lab → · Contrast checker → · Palette generator →

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