#AAA862#AAA862

#AAA862 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.092 H 107.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AAA862
RGBrgb(170, 168, 98)
HSLhsl(58, 30%, 53%)
HSVhsv(58, 42%, 67%)
CMYKcmyk(0%, 1.2%, 42.4%, 33.3%)
CIE-LABlab(67.60, -9.69, 36.34)
CIE-LCHlch(67.60, 37.61, 104.93°)
OKLaboklab(71.73% -0.027 0.0879)
OKLCHoklch(71.73% 0.092 107.1)
XYZxyz(32.7854, 37.4339, 17.0513)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA862 #6264AA
analogous
#AA8462 #AAA862 #88AA62
triadic
#AAA862 #62AAA8 #A862AA
tetradic
#AAA862 #62AA84 #6264AA #AA6288
square
#AAA862 #62AA84 #6264AA #AA6288
split-complementary
#AAA862 #6288AA #8462AA
monochromatic
#5E5D33 #868449 #AAA862 #BFBE8A #D5D4B1

Accessibility & contrast

On white

2.47
#AAA862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#AAA862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA862
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA862#FFFFFF#000000##000000
##AAA8621.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35C
Deuteranopia (green-blind)
#B4A665
Tritanopia (blue-blind)
#B3A097
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa862;
/* rgb */ color: rgb(170, 168, 98);
/* oklch */ color: oklch(71.7% 0.092 107.1);
Tailwind
colors: {
  custom: {
    50: '#c4c190',
    500: '#aaa862',
    950: '#000000',
  },
}
SCSS
$custom: #aaa862;
$custom-light: #c4c190;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa862",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 58.333,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.09198,
    "h": 107.1
  },
  "luminance": 0.37433
}

Semantic roles & 50–950 ramp

primary
#AAA862
secondary
#A4A5C4
accent
#65C662
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AAA862

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

Preview Lab → · Contrast checker → · Palette generator →

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