#AAA851#AAA851

#AAA851 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.110 H 107.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AAA851
RGBrgb(170, 168, 81)
HSLhsl(59, 35%, 49%)
HSVhsv(59, 52%, 67%)
CMYKcmyk(0%, 1.2%, 52.4%, 33.3%)
CIE-LABlab(67.39, -11.35, 44.63)
CIE-LCHlch(67.39, 46.05, 104.27°)
OKLaboklab(71.49% -0.0334 0.1048)
OKLCHoklch(71.49% 0.11 107.7)
XYZxyz(32.0662, 37.1462, 13.2638)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA851 #5153AA
analogous
#AA7C51 #AAA851 #80AA51
triadic
#AAA851 #51AAA8 #A851AA
tetradic
#AAA851 #51AA7C #5153AA #AA5180
square
#AAA851 #51AA7C #5153AA #AA5180
split-complementary
#AAA851 #5180AA #7C51AA
monochromatic
#57562A #817F3D #AAA851 #BFBE79 #D3D2A2

Accessibility & contrast

On white

2.49
#AAA851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AAA851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA851
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA851#FFFFFF#000000##000000
##AAA8511.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A249
Deuteranopia (green-blind)
#B6A655
Tritanopia (blue-blind)
#B59F94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa851;
/* rgb */ color: rgb(170, 168, 81);
/* oklch */ color: oklch(71.5% 0.110 107.7);
Tailwind
colors: {
  custom: {
    50: '#c5c184',
    500: '#aaa851',
    950: '#000000',
  },
}
SCSS
$custom: #aaa851;
$custom-light: #c5c184;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa851",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 81
  },
  "hsl": {
    "h": 58.652,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71491,
    "c": 0.11004,
    "h": 107.7
  },
  "luminance": 0.37145
}

Semantic roles & 50–950 ramp

primary
#AAA851
secondary
#9798C0
accent
#5FCB5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AAA851

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

Preview Lab → · Contrast checker → · Palette generator →

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