#AAAC38#AAAC38

#AAAC38 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.1% C 0.136 H 110.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AAAC38
RGBrgb(170, 172, 56)
HSLhsl(61, 51%, 45%)
HSVhsv(61, 67%, 67%)
CMYKcmyk(1.2%, 0%, 67.4%, 32.5%)
CIE-LABlab(68.27, -15.23, 56.73)
CIE-LCHlch(68.27, 58.74, 105.03°)
OKLaboklab(72.12% -0.0471 0.1273)
OKLCHoklch(72.12% 0.136 110.3)
XYZxyz(32.0449, 38.3375, 9.4525)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC38 #3A38AC
analogous
#AC7438 #AAAC38 #70AC38
triadic
#AAAC38 #38AAAC #AC38AA
tetradic
#AAAC38 #38AC74 #3A38AC #AC3870
square
#AAAC38 #38AC74 #3A38AC #AC3870
split-complementary
#AAAC38 #3870AC #7438AC
monochromatic
#4F501A #7C7E29 #AAAC38 #C7C958 #D6D887

Accessibility & contrast

On white

2.42
#AAAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#AAAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAC38
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAC38#FFFFFF#000000##000000
##AAAC381.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A527
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#B6A195
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac38;
/* rgb */ color: rgb(170, 172, 56);
/* oklch */ color: oklch(72.1% 0.136 110.3);
Tailwind
colors: {
  custom: {
    50: '#c6c475',
    500: '#aaac38',
    950: '#000000',
  },
}
SCSS
$custom: #aaac38;
$custom-light: #c6c475;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac38",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 61.034,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72121,
    "c": 0.13571,
    "h": 110.3
  },
  "luminance": 0.38337
}

Semantic roles & 50–950 ramp

primary
#AAAC38
secondary
#7F7EC2
accent
#4DDA50
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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