#AAA478#AAA478

#AAA478 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.061 H 101.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AAA478
RGBrgb(170, 164, 120)
HSLhsl(53, 23%, 57%)
HSVhsv(53, 29%, 67%)
CMYKcmyk(0%, 3.5%, 29.4%, 33.3%)
CIE-LABlab(66.87, -4.89, 23.67)
CIE-LCHlch(66.87, 24.17, 101.68°)
OKLaboklab(71.26% -0.0118 0.0594)
OKLCHoklch(71.26% 0.061 101.2)
XYZxyz(33.2434, 36.4537, 23.0507)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA478 #787EAA
analogous
#AA8B78 #AAA478 #97AA78
triadic
#AAA478 #78AAA4 #A478AA
tetradic
#AAA478 #78AA8B #787EAA #AA7897
square
#AAA478 #78AA8B #787EAA #AA7897
split-complementary
#AAA478 #7897AA #8B78AA
monochromatic
#676241 #8C8658 #AAA478 #C2BD9E #D9D7C3

Accessibility & contrast

On white

2.53
#AAA478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AAA478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA478
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA478#FFFFFF#000000##000000
##AAA4781.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA175
Deuteranopia (green-blind)
#AEA47A
Tritanopia (blue-blind)
#B29E98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa478;
/* rgb */ color: rgb(170, 164, 120);
/* oklch */ color: oklch(71.3% 0.061 101.2);
Tailwind
colors: {
  custom: {
    50: '#c4be9f',
    500: '#aaa478',
    950: '#000000',
  },
}
SCSS
$custom: #aaa478;
$custom-light: #c4be9f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa478",
  "rgb": {
    "r": 170,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 52.8,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.71264,
    "c": 0.06059,
    "h": 101.2
  },
  "luminance": 0.36453
}

Semantic roles & 50–950 ramp

primary
#AAA478
secondary
#B5B7C9
accent
#73BF69
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #AAA478

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

Preview Lab → · Contrast checker → · Palette generator →

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