#AAA638#AAA638

#AAA638 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.130 H 107.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AAA638
RGBrgb(170, 166, 56)
HSLhsl(58, 50%, 44%)
HSVhsv(58, 67%, 67%)
CMYKcmyk(0%, 2.4%, 67.1%, 33.3%)
CIE-LABlab(66.60, -12.13, 55.03)
CIE-LCHlch(66.60, 56.35, 102.42°)
OKLaboklab(70.79% -0.0384 0.1237)
OKLCHoklch(70.79% 0.13 107.3)
XYZxyz(30.9287, 36.1050, 9.0804)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA638 #383CAA
analogous
#AA6D38 #AAA638 #75AA38
triadic
#AAA638 #38AAA6 #A638AA
tetradic
#AAA638 #38AA6D #383CAA #AA3875
square
#AAA638 #38AA6D #383CAA #AA3875
split-complementary
#AAA638 #3875AA #6D38AA
monochromatic
#4E4C1A #7C7929 #AAA638 #C8C457 #D7D485

Accessibility & contrast

On white

2.55
#AAA638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#AAA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA638
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA638#FFFFFF#000000##000000
##AAA6381.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#B69B90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa638;
/* rgb */ color: rgb(170, 166, 56);
/* oklch */ color: oklch(70.8% 0.130 107.3);
Tailwind
colors: {
  custom: {
    50: '#c6c075',
    500: '#aaa638',
    950: '#000000',
  },
}
SCSS
$custom: #aaa638;
$custom-light: #c6c075;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa638",
  "rgb": {
    "r": 170,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 57.895,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.12951,
    "h": 107.3
  },
  "luminance": 0.36104
}

Semantic roles & 50–950 ramp

primary
#AAA638
secondary
#7D7FC1
accent
#53DA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA638

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

Preview Lab → · Contrast checker → · Palette generator →

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