#AAA274#AAA274

#AAA274 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.063 H 99.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#AAA274
RGBrgb(170, 162, 116)
HSLhsl(51, 24%, 56%)
HSVhsv(51, 32%, 67%)
CMYKcmyk(0%, 4.7%, 31.8%, 33.3%)
CIE-LABlab(66.25, -4.35, 25.02)
CIE-LCHlch(66.25, 25.40, 99.86°)
OKLaboklab(70.75% -0.0104 0.0626)
OKLCHoklch(70.75% 0.063 99.5)
XYZxyz(32.6506, 35.6484, 21.6805)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA274 #747CAA
analogous
#AA8774 #AAA274 #97AA74
triadic
#AAA274 #74AAA2 #A274AA
tetradic
#AAA274 #74AA87 #747CAA #AA7497
square
#AAA274 #74AA87 #747CAA #AA7497
split-complementary
#AAA274 #7497AA #8774AA
monochromatic
#66603E #8B8355 #AAA274 #C1BB9A #D8D5C0

Accessibility & contrast

On white

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

On black

8.13
#AAA274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA274
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA274#FFFFFF#000000##000000
##AAA2741.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F71
Deuteranopia (green-blind)
#ADA376
Tritanopia (blue-blind)
#B29C96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aaa274;
/* rgb */ color: rgb(170, 162, 116);
/* oklch */ color: oklch(70.8% 0.063 99.5);
Tailwind
colors: {
  custom: {
    50: '#c4bd9c',
    500: '#aaa274',
    950: '#000000',
  },
}
SCSS
$custom: #aaa274;
$custom-light: #c4bd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa274",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 116
  },
  "hsl": {
    "h": 51.111,
    "s": 24.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.70754,
    "c": 0.06341,
    "h": 99.5
  },
  "luminance": 0.35648
}

Semantic roles & 50–950 ramp

primary
#AAA274
secondary
#B2B5C8
accent
#74C167
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA274

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

Preview Lab → · Contrast checker → · Palette generator →

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