#AAA838#AAA838

#AAA838 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.132 H 108.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AAA838
RGBrgb(170, 168, 56)
HSLhsl(59, 50%, 44%)
HSVhsv(59, 67%, 67%)
CMYKcmyk(0%, 1.2%, 67.1%, 33.3%)
CIE-LABlab(67.16, -13.16, 55.60)
CIE-LCHlch(67.16, 57.14, 103.32°)
OKLaboklab(71.23% -0.0413 0.1249)
OKLCHoklch(71.23% 0.132 108.3)
XYZxyz(31.2951, 36.8378, 9.2025)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA838 #383AAA
analogous
#AA6F38 #AAA838 #73AA38
triadic
#AAA838 #38AAA8 #A838AA
tetradic
#AAA838 #38AA6F #383AAA #AA3873
square
#AAA838 #38AA6F #383AAA #AA3873
split-complementary
#AAA838 #3873AA #6F38AA
monochromatic
#4E4D1A #7C7B29 #AAA838 #C8C657 #D7D685

Accessibility & contrast

On white

2.51
#AAA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AAA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA838
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA838#FFFFFF#000000##000000
##AAA8381.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A128
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#B69D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aaa838;
/* rgb */ color: rgb(170, 168, 56);
/* oklch */ color: oklch(71.2% 0.132 108.3);
Tailwind
colors: {
  custom: {
    50: '#c6c175',
    500: '#aaa838',
    950: '#000000',
  },
}
SCSS
$custom: #aaa838;
$custom-light: #c6c175;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa838",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 58.947,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71232,
    "c": 0.13155,
    "h": 108.3
  },
  "luminance": 0.36837
}

Semantic roles & 50–950 ramp

primary
#AAA838
secondary
#7D7EC1
accent
#50DA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA838

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

Preview Lab → · Contrast checker → · Palette generator →

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