#AAA846#AAA846

#AAA846 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.120 H 108.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AAA846
RGBrgb(170, 168, 70)
HSLhsl(59, 42%, 47%)
HSVhsv(59, 59%, 67%)
CMYKcmyk(0%, 1.2%, 58.8%, 33.3%)
CIE-LABlab(67.27, -12.24, 49.68)
CIE-LCHlch(67.27, 51.17, 103.84°)
OKLaboklab(71.36% -0.0372 0.1144)
OKLCHoklch(71.36% 0.12 108)
XYZxyz(31.6866, 36.9944, 11.2646)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA846 #4648AA
analogous
#AA7646 #AAA846 #7AAA46
triadic
#AAA846 #46AAA8 #A846AA
tetradic
#AAA846 #46AA76 #4648AA #AA467A
square
#AAA846 #46AA76 #4648AA #AA467A
split-complementary
#AAA846 #467AAA #7646AA
monochromatic
#535222 #7F7D34 #AAA846 #C2C06B #D4D396

Accessibility & contrast

On white

2.50
#AAA846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AAA846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA846
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA846#FFFFFF#000000##000000
##AAA8461.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23B
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#B59E93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa846;
/* rgb */ color: rgb(170, 168, 70);
/* oklch */ color: oklch(71.4% 0.120 108.0);
Tailwind
colors: {
  custom: {
    50: '#c6c17d',
    500: '#aaa846',
    950: '#000000',
  },
}
SCSS
$custom: #aaa846;
$custom-light: #c6c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa846",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 70
  },
  "hsl": {
    "h": 58.8,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71364,
    "c": 0.12032,
    "h": 108
  },
  "luminance": 0.36994
}

Semantic roles & 50–950 ramp

primary
#AAA846
secondary
#8C8DC0
accent
#59D156
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA846

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

Preview Lab → · Contrast checker → · Palette generator →

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