#AAA278#AAA278

#AAA278 is a light, muted yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.058 H 98.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AAA278
RGBrgb(170, 162, 120)
HSLhsl(50, 23%, 57%)
HSVhsv(50, 29%, 67%)
CMYKcmyk(0%, 4.7%, 29.4%, 33.3%)
CIE-LABlab(66.32, -3.82, 22.94)
CIE-LCHlch(66.32, 23.26, 99.45°)
OKLaboklab(70.84% -0.0087 0.0577)
OKLCHoklch(70.84% 0.058 98.6)
XYZxyz(32.8883, 35.7435, 22.9324)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA278 #7880AA
analogous
#AA8978 #AAA278 #99AA78
triadic
#AAA278 #78AAA2 #A278AA
tetradic
#AAA278 #78AA89 #7880AA #AA7899
square
#AAA278 #78AA89 #7880AA #AA7899
split-complementary
#AAA278 #7899AA #8978AA
monochromatic
#676141 #8C8458 #AAA278 #C2BC9E #D9D6C3

Accessibility & contrast

On white

2.58
#AAA278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AAA278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA278
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA278#FFFFFF#000000##000000
##AAA2781.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F75
Deuteranopia (green-blind)
#ADA379
Tritanopia (blue-blind)
#B29C97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa278;
/* rgb */ color: rgb(170, 162, 120);
/* oklch */ color: oklch(70.8% 0.058 98.6);
Tailwind
colors: {
  custom: {
    50: '#c4bd9f',
    500: '#aaa278',
    950: '#000000',
  },
}
SCSS
$custom: #aaa278;
$custom-light: #c4bd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa278",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 120
  },
  "hsl": {
    "h": 50.4,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.70836,
    "c": 0.05835,
    "h": 98.6
  },
  "luminance": 0.35743
}

Semantic roles & 50–950 ramp

primary
#AAA278
secondary
#B5B8C9
accent
#76BF69
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #AAA278

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

Preview Lab → · Contrast checker → · Palette generator →

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