#AAAD38#AAAD38

#AAAD38 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.3% C 0.137 H 110.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#AAAD38
RGBrgb(170, 173, 56)
HSLhsl(62, 51%, 45%)
HSVhsv(62, 68%, 68%)
CMYKcmyk(1.7%, 0%, 67.6%, 32.2%)
CIE-LABlab(68.55, -15.74, 57.02)
CIE-LCHlch(68.55, 59.15, 105.43°)
OKLaboklab(72.34% -0.0486 0.1279)
OKLCHoklch(72.34% 0.137 110.8)
XYZxyz(32.2360, 38.7195, 9.5161)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAD38 #3B38AD
analogous
#AD7538 #AAAD38 #70AD38
triadic
#AAAD38 #38AAAD #AD38AA
tetradic
#AAAD38 #38AD75 #3B38AD #AD3870
square
#AAAD38 #38AD75 #3B38AD #AD3870
split-complementary
#AAAD38 #3870AD #7538AD
monochromatic
#4F511A #7D7F29 #AAAD38 #C6C959 #D6D887

Accessibility & contrast

On white

2.40
#AAAD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#AAAD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAD38
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAD38#FFFFFF#000000##000000
##AAAD381.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#BBA940
Tritanopia (blue-blind)
#B6A296
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aaad38;
/* rgb */ color: rgb(170, 173, 56);
/* oklch */ color: oklch(72.3% 0.137 110.8);
Tailwind
colors: {
  custom: {
    50: '#c6c575',
    500: '#aaad38',
    950: '#000000',
  },
}
SCSS
$custom: #aaad38;
$custom-light: #c6c575;
$custom-dark: #000000;
JSON
{
  "hex": "#aaad38",
  "rgb": {
    "r": 170,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 61.538,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.13678,
    "h": 110.8
  },
  "luminance": 0.38719
}

Semantic roles & 50–950 ramp

primary
#AAAD38
secondary
#807FC2
accent
#4DDB51
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAAD38

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

Preview Lab → · Contrast checker → · Palette generator →

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