#AAA841#AAA841

#AAA841 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.125 H 108.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AAA841
RGBrgb(170, 168, 65)
HSLhsl(59, 45%, 46%)
HSVhsv(59, 62%, 67%)
CMYKcmyk(0%, 1.2%, 61.8%, 33.3%)
CIE-LABlab(67.23, -12.60, 51.87)
CIE-LCHlch(67.23, 53.38, 103.65°)
OKLaboklab(71.31% -0.0388 0.1184)
OKLCHoklch(71.31% 0.125 108.1)
XYZxyz(31.5353, 36.9339, 10.4678)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA841 #4143AA
analogous
#AA7341 #AAA841 #77AA41
triadic
#AAA841 #41AAA8 #A841AA
tetradic
#AAA841 #41AA73 #4143AA #AA4177
square
#AAA841 #41AA73 #4143AA #AA4177
split-complementary
#AAA841 #4177AA #7341AA
monochromatic
#51501F #7E7C30 #AAA841 #C4C264 #D5D391

Accessibility & contrast

On white

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

On black

8.39
#AAA841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA841
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA841#FFFFFF#000000##000000
##AAA8411.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#B7A547
Tritanopia (blue-blind)
#B69E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aaa841;
/* rgb */ color: rgb(170, 168, 65);
/* oklch */ color: oklch(71.3% 0.125 108.1);
Tailwind
colors: {
  custom: {
    50: '#c6c17a',
    500: '#aaa841',
    950: '#000000',
  },
}
SCSS
$custom: #aaa841;
$custom-light: #c6c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa841",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 58.857,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71313,
    "c": 0.12458,
    "h": 108.1
  },
  "luminance": 0.36933
}

Semantic roles & 50–950 ramp

primary
#AAA841
secondary
#8788C0
accent
#56D453
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA841

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

Preview Lab → · Contrast checker → · Palette generator →

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