#AAA381#AAA381

#AAA381 is a light, muted yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.048 H 97.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AAA381
RGBrgb(170, 163, 129)
HSLhsl(50, 19%, 59%)
HSVhsv(50, 24%, 67%)
CMYKcmyk(0%, 4.1%, 24.1%, 33.3%)
CIE-LABlab(66.77, -3.09, 18.62)
CIE-LCHlch(66.77, 18.87, 99.43°)
OKLaboklab(71.25% -0.0064 0.0474)
OKLCHoklch(71.25% 0.048 97.7)
XYZxyz(33.6372, 36.3260, 26.0043)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA381 #8188AA
analogous
#AA8E81 #AAA381 #9CAA81
triadic
#AAA381 #81AAA3 #A381AA
tetradic
#AAA381 #81AA8E #8188AA #AA819C
square
#AAA381 #81AA8E #8188AA #AA819C
split-complementary
#AAA381 #819CAA #8E81AA
monochromatic
#696447 #8E8660 #AAA381 #C3BEA6 #DBD8CA

Accessibility & contrast

On white

2.54
#AAA381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AAA381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA381
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA381#FFFFFF#000000##000000
##AAA3811.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA17F
Deuteranopia (green-blind)
#ACA482
Tritanopia (blue-blind)
#B19E9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa381;
/* rgb */ color: rgb(170, 163, 129);
/* oklch */ color: oklch(71.2% 0.048 97.7);
Tailwind
colors: {
  custom: {
    50: '#c3bea5',
    500: '#aaa381',
    950: '#000000',
  },
}
SCSS
$custom: #aaa381;
$custom-light: #c3bea5;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa381",
  "rgb": {
    "r": 170,
    "g": 163,
    "b": 129
  },
  "hsl": {
    "h": 49.756,
    "s": 19.431,
    "l": 58.627
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.04781,
    "h": 97.7
  },
  "luminance": 0.36325
}

Semantic roles & 50–950 ramp

primary
#AAA381
secondary
#BBBECC
accent
#79BC6C
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #AAA381

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

Preview Lab → · Contrast checker → · Palette generator →

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