#AAA538#AAA538

#AAA538 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.129 H 106.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AAA538
RGBrgb(170, 165, 56)
HSLhsl(57, 50%, 44%)
HSVhsv(57, 67%, 67%)
CMYKcmyk(0%, 2.9%, 67.1%, 33.3%)
CIE-LABlab(66.32, -11.60, 54.75)
CIE-LCHlch(66.32, 55.97, 101.97°)
OKLaboklab(70.57% -0.0369 0.1231)
OKLCHoklch(70.57% 0.129 106.7)
XYZxyz(30.7476, 35.7429, 9.0200)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA538 #383DAA
analogous
#AA6C38 #AAA538 #76AA38
triadic
#AAA538 #38AAA5 #A538AA
tetradic
#AAA538 #38AA6C #383DAA #AA3876
square
#AAA538 #38AA6C #383DAA #AA3876
split-complementary
#AAA538 #3876AA #6C38AA
monochromatic
#4E4C1A #7C7829 #AAA538 #C8C357 #D7D385

Accessibility & contrast

On white

2.58
#AAA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AAA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA538
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA538#FFFFFF#000000##000000
##AAA5381.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B5A33F
Tritanopia (blue-blind)
#B69A8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa538;
/* rgb */ color: rgb(170, 165, 56);
/* oklch */ color: oklch(70.6% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#c6bf75',
    500: '#aaa538',
    950: '#000000',
  },
}
SCSS
$custom: #aaa538;
$custom-light: #c6bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa538",
  "rgb": {
    "r": 170,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 57.368,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70569,
    "c": 0.1285,
    "h": 106.7
  },
  "luminance": 0.35742
}

Semantic roles & 50–950 ramp

primary
#AAA538
secondary
#7D80C1
accent
#54DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA538

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

Preview Lab → · Contrast checker → · Palette generator →

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