#AAA271#AAA271

#AAA271 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.067 H 100.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AAA271
RGBrgb(170, 162, 113)
HSLhsl(52, 25%, 55%)
HSVhsv(52, 34%, 67%)
CMYKcmyk(0%, 4.7%, 33.5%, 33.3%)
CIE-LABlab(66.20, -4.74, 26.58)
CIE-LCHlch(66.20, 27.00, 100.11°)
OKLaboklab(70.69% -0.0117 0.0661)
OKLCHoklch(70.69% 0.067 100)
XYZxyz(32.4789, 35.5798, 20.7762)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA271 #7179AA
analogous
#AA8571 #AAA271 #95AA71
triadic
#AAA271 #71AAA2 #A271AA
tetradic
#AAA271 #71AA85 #7179AA #AA7195
square
#AAA271 #71AA85 #7179AA #AA7195
split-complementary
#AAA271 #7195AA #8571AA
monochromatic
#645F3C #8B8353 #AAA271 #C1BB97 #D8D4BE

Accessibility & contrast

On white

2.59
#AAA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AAA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA271
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA271#FFFFFF#000000##000000
##AAA2711.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6E
Deuteranopia (green-blind)
#AEA273
Tritanopia (blue-blind)
#B29B95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa271;
/* rgb */ color: rgb(170, 162, 113);
/* oklch */ color: oklch(70.7% 0.067 100.0);
Tailwind
colors: {
  custom: {
    50: '#c4bd9a',
    500: '#aaa271',
    950: '#000000',
  },
}
SCSS
$custom: #aaa271;
$custom-light: #c4bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa271",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 51.579,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70695,
    "c": 0.06716,
    "h": 100
  },
  "luminance": 0.35579
}

Semantic roles & 50–950 ramp

primary
#AAA271
secondary
#B0B3C7
accent
#73C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA271

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

Preview Lab → · Contrast checker → · Palette generator →

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