#AAA277#AAA277

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

Color values

HEX#AAA277
RGBrgb(170, 162, 119)
HSLhsl(51, 23%, 57%)
HSVhsv(51, 30%, 67%)
CMYKcmyk(0%, 4.7%, 30%, 33.3%)
CIE-LABlab(66.31, -3.95, 23.46)
CIE-LCHlch(66.31, 23.79, 99.56°)
OKLaboklab(70.82% -0.0091 0.0589)
OKLCHoklch(70.82% 0.06 98.8)
XYZxyz(32.8279, 35.7194, 22.6144)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA277 #777FAA
analogous
#AA8977 #AAA277 #99AA77
triadic
#AAA277 #77AAA2 #A277AA
tetradic
#AAA277 #77AA89 #777FAA #AA7799
square
#AAA277 #77AA89 #777FAA #AA7799
split-complementary
#AAA277 #7799AA #8977AA
monochromatic
#676040 #8C8458 #AAA277 #C2BC9D #D9D6C2

Accessibility & contrast

On white

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

On black

8.14
#AAA277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA277
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA277#FFFFFF#000000##000000
##AAA2771.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaa277;
/* rgb */ color: rgb(170, 162, 119);
/* oklch */ color: oklch(70.8% 0.060 98.8);
Tailwind
colors: {
  custom: {
    50: '#c4bd9e',
    500: '#aaa277',
    950: '#000000',
  },
}
SCSS
$custom: #aaa277;
$custom-light: #c4bd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa277",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 119
  },
  "hsl": {
    "h": 50.588,
    "s": 23.077,
    "l": 56.667
  },
  "oklch": {
    "l": 0.70815,
    "c": 0.05962,
    "h": 98.8
  },
  "luminance": 0.35719
}

Semantic roles & 50–950 ramp

primary
#AAA277
secondary
#B4B7C9
accent
#76C068
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #AAA277

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

Preview Lab → · Contrast checker → · Palette generator →

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