#AAAE38#AAAE38

#AAAE38 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.6% C 0.138 H 111.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AAAE38
RGBrgb(170, 174, 56)
HSLhsl(62, 51%, 45%)
HSVhsv(62, 68%, 68%)
CMYKcmyk(2.3%, 0%, 67.8%, 31.8%)
CIE-LABlab(68.83, -16.25, 57.30)
CIE-LCHlch(68.83, 59.56, 105.84°)
OKLaboklab(72.57% -0.05 0.1285)
OKLCHoklch(72.57% 0.138 111.3)
XYZxyz(32.4284, 39.1045, 9.5803)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAE38 #3C38AE
analogous
#AE7738 #AAAE38 #6FAE38
triadic
#AAAE38 #38AAAE #AE38AA
tetradic
#AAAE38 #38AE77 #3C38AE #AE386F
square
#AAAE38 #38AE77 #3C38AE #AE386F
split-complementary
#AAAE38 #386FAE #7738AE
monochromatic
#50511A #7D8029 #AAAE38 #C6CA59 #D6D988

Accessibility & contrast

On white

2.38
#AAAE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AAAE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAE38
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAE38#FFFFFF#000000##000000
##AAAE381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#B6A396
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaae38;
/* rgb */ color: rgb(170, 174, 56);
/* oklch */ color: oklch(72.6% 0.138 111.3);
Tailwind
colors: {
  custom: {
    50: '#c6c676',
    500: '#aaae38',
    950: '#000000',
  },
}
SCSS
$custom: #aaae38;
$custom-light: #c6c676;
$custom-dark: #000000;
JSON
{
  "hex": "#aaae38",
  "rgb": {
    "r": 170,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 62.034,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72567,
    "c": 0.13785,
    "h": 111.3
  },
  "luminance": 0.39104
}

Semantic roles & 50–950 ramp

primary
#AAAE38
secondary
#817FC3
accent
#4DDB52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAAE38

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

Preview Lab → · Contrast checker → · Palette generator →

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