#AAA257#AAA257

#AAA257 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.097 H 103.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AAA257
RGBrgb(170, 162, 87)
HSLhsl(54, 33%, 50%)
HSVhsv(54, 49%, 67%)
CMYKcmyk(0%, 4.7%, 48.8%, 33.3%)
CIE-LABlab(65.81, -7.64, 39.77)
CIE-LCHlch(65.81, 40.49, 100.87°)
OKLaboklab(70.26% -0.0222 0.0948)
OKLCHoklch(70.26% 0.097 103.2)
XYZxyz(31.2190, 35.0758, 14.1408)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA257 #575FAA
analogous
#AA7857 #AAA257 #88AA57
triadic
#AAA257 #57AAA2 #A257AA
tetradic
#AAA257 #57AA78 #575FAA #AA5788
square
#AAA257 #57AA78 #575FAA #AA5788
split-complementary
#AAA257 #5788AA #7857AA
monochromatic
#59552D #827C42 #AAA257 #BFB880 #D3CFA8

Accessibility & contrast

On white

2.62
#AAA257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AAA257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA257
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA257#FFFFFF#000000##000000
##AAA2571.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E51
Deuteranopia (green-blind)
#B0A25A
Tritanopia (blue-blind)
#B59990
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa257;
/* rgb */ color: rgb(170, 162, 87);
/* oklch */ color: oklch(70.3% 0.097 103.2);
Tailwind
colors: {
  custom: {
    50: '#c5bd88',
    500: '#aaa257',
    950: '#000000',
  },
}
SCSS
$custom: #aaa257;
$custom-light: #c5bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa257",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 54.217,
    "s": 32.806,
    "l": 50.392
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.09733,
    "h": 103.2
  },
  "luminance": 0.35075
}

Semantic roles & 50–950 ramp

primary
#AAA257
secondary
#9C9FC1
accent
#69C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA257

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

Preview Lab → · Contrast checker → · Palette generator →

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