#AAAA38#AAAA38

#AAAA38 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.7% C 0.134 H 109.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#AAAA38
RGBrgb(170, 170, 56)
HSLhsl(60, 50%, 44%)
HSVhsv(60, 67%, 67%)
CMYKcmyk(0%, 0%, 67.1%, 33.3%)
CIE-LABlab(67.71, -14.20, 56.17)
CIE-LCHlch(67.71, 57.93, 104.19°)
OKLaboklab(71.68% -0.0443 0.1261)
OKLCHoklch(71.68% 0.134 109.3)
XYZxyz(31.6672, 37.5819, 9.3265)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA38 #3838AA
analogous
#AA7138 #AAAA38 #71AA38
triadic
#AAAA38 #38AAAA #AA38AA
tetradic
#AAAA38 #38AA71 #3838AA #AA3871
square
#AAAA38 #38AA71 #3838AA #AA3871
split-complementary
#AAAA38 #3871AA #7138AA
monochromatic
#4E4E1A #7C7C29 #AAAA38 #C8C857 #D7D785

Accessibility & contrast

On white

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

On black

8.52
#AAAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA38
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA38#FFFFFF#000000##000000
##AAAA381.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A327
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#B69F93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa38;
/* rgb */ color: rgb(170, 170, 56);
/* oklch */ color: oklch(71.7% 0.134 109.3);
Tailwind
colors: {
  custom: {
    50: '#c6c375',
    500: '#aaaa38',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa38;
$custom-light: #c6c375;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa38",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71676,
    "c": 0.13361,
    "h": 109.3
  },
  "luminance": 0.37581
}

Semantic roles & 50–950 ramp

primary
#AAAA38
secondary
#7D7DC1
accent
#4EDA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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