#AAA027#AAA027

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

Color values

HEX#AAA027
RGBrgb(170, 160, 39)
HSLhsl(55, 63%, 41%)
HSVhsv(55, 77%, 67%)
CMYKcmyk(0%, 5.9%, 77.1%, 33.3%)
CIE-LABlab(64.83, -9.82, 59.65)
CIE-LCHlch(64.83, 60.45, 99.35°)
OKLaboklab(69.35% -0.0336 0.1304)
OKLCHoklch(69.35% 0.135 104.5)
XYZxyz(29.5159, 33.8353, 6.8952)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA027 #2731AA
analogous
#AA5E27 #AAA027 #72AA27
triadic
#AAA027 #27AAA0 #A027AA
tetradic
#AAA027 #27AA5E #2731AA #AA2772
square
#AAA027 #27AA5E #2731AA #AA2772
split-complementary
#AAA027 #2772AA #5E27AA
monochromatic
#464210 #78711C #AAA027 #D2C73C #DED56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA027#FFFFFF#000000##000000
##AAA0271.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)
#AF9A09
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#B79589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aaa027;
/* rgb */ color: rgb(170, 160, 39);
/* oklch */ color: oklch(69.3% 0.135 104.5);
Tailwind
colors: {
  custom: {
    50: '#c7bb6b',
    500: '#aaa027',
    950: '#000000',
  },
}
SCSS
$custom: #aaa027;
$custom-light: #c7bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa027",
  "rgb": {
    "r": 170,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 55.42,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69347,
    "c": 0.13462,
    "h": 104.5
  },
  "luminance": 0.33834
}

Semantic roles & 50–950 ramp

primary
#AAA027
secondary
#6970C4
accent
#4FE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AAA027

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

Preview Lab → · Contrast checker → · Palette generator →

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