#AAA848#AAA848

#AAA848 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.119 H 108.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AAA848
RGBrgb(170, 168, 72)
HSLhsl(59, 40%, 47%)
HSVhsv(59, 58%, 67%)
CMYKcmyk(0%, 1.2%, 57.6%, 33.3%)
CIE-LABlab(67.29, -12.09, 48.79)
CIE-LCHlch(67.29, 50.26, 103.92°)
OKLaboklab(71.39% -0.0365 0.1128)
OKLCHoklch(71.39% 0.119 108)
XYZxyz(31.7508, 37.0201, 11.6027)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA848 #484AAA
analogous
#AA7748 #AAA848 #7BAA48
triadic
#AAA848 #48AAA8 #A848AA
tetradic
#AAA848 #48AA77 #484AAA #AA487B
square
#AAA848 #48AA77 #484AAA #AA487B
split-complementary
#AAA848 #487BAA #7748AA
monochromatic
#545324 #7F7E36 #AAA848 #C1C06E #D4D299

Accessibility & contrast

On white

2.50
#AAA848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AAA848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA848
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA848#FFFFFF#000000##000000
##AAA8481.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23E
Deuteranopia (green-blind)
#B6A64D
Tritanopia (blue-blind)
#B59E93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa848;
/* rgb */ color: rgb(170, 168, 72);
/* oklch */ color: oklch(71.4% 0.119 108.0);
Tailwind
colors: {
  custom: {
    50: '#c6c17f',
    500: '#aaa848',
    950: '#000000',
  },
}
SCSS
$custom: #aaa848;
$custom-light: #c6c17f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa848",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 72
  },
  "hsl": {
    "h": 58.776,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.11855,
    "h": 108
  },
  "luminance": 0.37019
}

Semantic roles & 50–950 ramp

primary
#AAA848
secondary
#8E8FC0
accent
#5AD057
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA848

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

Preview Lab → · Contrast checker → · Palette generator →

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