#AAA727#AAA727

#AAA727 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.9% C 0.141 H 108.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AAA727
RGBrgb(170, 167, 39)
HSLhsl(59, 63%, 41%)
HSVhsv(59, 77%, 67%)
CMYKcmyk(0%, 1.8%, 77.1%, 33.3%)
CIE-LABlab(66.77, -13.48, 61.42)
CIE-LCHlch(66.77, 62.88, 102.38°)
OKLaboklab(70.89% -0.0439 0.1341)
OKLCHoklch(70.89% 0.141 108.1)
XYZxyz(30.7637, 36.3310, 7.3111)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA727 #272AAA
analogous
#AA6527 #AAA727 #6BAA27
triadic
#AAA727 #27AAA7 #A727AA
tetradic
#AAA727 #27AA65 #272AAA #AA276B
square
#AAA727 #27AA65 #272AAA #AA276B
split-complementary
#AAA727 #276BAA #6527AA
monochromatic
#464510 #78761C #AAA727 #D2CF3C #DEDB6E

Accessibility & contrast

On white

2.54
#AAA727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AAA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA727
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA727#FFFFFF#000000##000000
##AAA7271.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#B79C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa727;
/* rgb */ color: rgb(170, 167, 39);
/* oklch */ color: oklch(70.9% 0.141 108.1);
Tailwind
colors: {
  custom: {
    50: '#c7c06c',
    500: '#aaa727',
    950: '#000000',
  },
}
SCSS
$custom: #aaa727;
$custom-light: #c7c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa727",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 58.626,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70893,
    "c": 0.14113,
    "h": 108.1
  },
  "luminance": 0.3633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAA727

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

Preview Lab → · Contrast checker → · Palette generator →

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