#AAA623#AAA623

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

Color values

HEX#AAA623
RGBrgb(170, 166, 35)
HSLhsl(58, 66%, 40%)
HSVhsv(58, 79%, 67%)
CMYKcmyk(0%, 2.4%, 79.4%, 33.3%)
CIE-LABlab(66.47, -13.11, 62.39)
CIE-LCHlch(66.47, 63.75, 101.87°)
OKLaboklab(70.65% -0.0432 0.1354)
OKLCHoklch(70.65% 0.142 107.7)
XYZxyz(30.5184, 35.9409, 6.9195)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA623 #2327AA
analogous
#AA6223 #AAA623 #6BAA23
triadic
#AAA623 #23AAA6 #A623AA
tetradic
#AAA623 #23AA62 #2327AA #AA236B
square
#AAA623 #23AA62 #2327AA #AA236B
split-complementary
#AAA623 #236BAA #6223AA
monochromatic
#44430E #777419 #AAA623 #D5D135 #E0DC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA623#FFFFFF#000000##000000
##AAA6231.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)
#B49F00
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#B79B8E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa623;
/* rgb */ color: rgb(170, 166, 35);
/* oklch */ color: oklch(70.7% 0.142 107.7);
Tailwind
colors: {
  custom: {
    50: '#c7c06a',
    500: '#aaa623',
    950: '#000000',
  },
}
SCSS
$custom: #aaa623;
$custom-light: #c7c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa623",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 58.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.14216,
    "h": 107.7
  },
  "luminance": 0.3594
}

Semantic roles & 50–950 ramp

primary
#AAA623
secondary
#6366C6
accent
#44E93F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AAA623

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

Preview Lab → · Contrast checker → · Palette generator →

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