#AAA627#AAA627

#AAA627 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.140 H 107.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AAA627
RGBrgb(170, 166, 39)
HSLhsl(58, 63%, 41%)
HSVhsv(58, 77%, 67%)
CMYKcmyk(0%, 2.4%, 77.1%, 33.3%)
CIE-LABlab(66.49, -12.96, 61.17)
CIE-LCHlch(66.49, 62.52, 101.96°)
OKLaboklab(70.67% -0.0424 0.1336)
OKLCHoklch(70.67% 0.14 107.6)
XYZxyz(30.5812, 35.9660, 7.2503)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA627 #272BAA
analogous
#AA6427 #AAA627 #6CAA27
triadic
#AAA627 #27AAA6 #A627AA
tetradic
#AAA627 #27AA64 #272BAA #AA276C
square
#AAA627 #27AA64 #272BAA #AA276C
split-complementary
#AAA627 #276CAA #6427AA
monochromatic
#464510 #78751C #AAA627 #D2CE3C #DEDA6E

Accessibility & contrast

On white

2.56
#AAA627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AAA627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA627
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA627#FFFFFF#000000##000000
##AAA6271.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#B79B8E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa627;
/* rgb */ color: rgb(170, 166, 39);
/* oklch */ color: oklch(70.7% 0.140 107.6);
Tailwind
colors: {
  custom: {
    50: '#c7c06c',
    500: '#aaa627',
    950: '#000000',
  },
}
SCSS
$custom: #aaa627;
$custom-light: #c7c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa627",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 58.168,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70671,
    "c": 0.14017,
    "h": 107.6
  },
  "luminance": 0.35965
}

Semantic roles & 50–950 ramp

primary
#AAA627
secondary
#696BC4
accent
#47E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA627

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

Preview Lab → · Contrast checker → · Palette generator →

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