#AAA254#AAA254

#AAA254 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.100 H 103.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AAA254
RGBrgb(170, 162, 84)
HSLhsl(54, 34%, 50%)
HSVhsv(54, 51%, 67%)
CMYKcmyk(0%, 4.7%, 50.6%, 33.3%)
CIE-LABlab(65.77, -7.92, 41.23)
CIE-LCHlch(65.77, 41.99, 100.87°)
OKLaboklab(70.22% -0.0233 0.0977)
OKLCHoklch(70.22% 0.1 103.4)
XYZxyz(31.0990, 35.0278, 13.5086)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA254 #545CAA
analogous
#AA7754 #AAA254 #87AA54
triadic
#AAA254 #54AAA2 #A254AA
tetradic
#AAA254 #54AA77 #545CAA #AA5487
square
#AAA254 #54AA77 #545CAA #AA5487
split-complementary
#AAA254 #5487AA #7754AA
monochromatic
#58542C #817B40 #AAA254 #BFB87D #D3CFA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA254#FFFFFF#000000##000000
##AAA2541.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)
#AE9D4D
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#B59990
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa254;
/* rgb */ color: rgb(170, 162, 84);
/* oklch */ color: oklch(70.2% 0.100 103.4);
Tailwind
colors: {
  custom: {
    50: '#c5bd86',
    500: '#aaa254',
    950: '#000000',
  },
}
SCSS
$custom: #aaa254;
$custom-light: #c5bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa254",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 54.419,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70217,
    "c": 0.10048,
    "h": 103.4
  },
  "luminance": 0.35027
}

Semantic roles & 50–950 ramp

primary
#AAA254
secondary
#999DC0
accent
#68CA5E
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA254

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

Preview Lab → · Contrast checker → · Palette generator →

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