#AAAB38#AAAB38

#AAAB38 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.135 H 109.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AAAB38
RGBrgb(170, 171, 56)
HSLhsl(61, 51%, 45%)
HSVhsv(61, 67%, 67%)
CMYKcmyk(0.6%, 0%, 67.3%, 32.9%)
CIE-LABlab(67.99, -14.71, 56.45)
CIE-LCHlch(67.99, 58.34, 104.61°)
OKLaboklab(71.9% -0.0457 0.1267)
OKLCHoklch(71.9% 0.135 109.8)
XYZxyz(31.8553, 37.9583, 9.3893)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB38 #3938AB
analogous
#AB7338 #AAAB38 #70AB38
triadic
#AAAB38 #38AAAB #AB38AA
tetradic
#AAAB38 #38AB73 #3938AB #AB3870
square
#AAAB38 #38AB73 #3938AB #AB3870
split-complementary
#AAAB38 #3870AB #7338AB
monochromatic
#4E4F1A #7C7D29 #AAAB38 #C7C858 #D7D786

Accessibility & contrast

On white

2.44
#AAAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AAAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAB38
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAB38#FFFFFF#000000##000000
##AAAB381.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A427
Deuteranopia (green-blind)
#BAA740
Tritanopia (blue-blind)
#B6A094
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaab38;
/* rgb */ color: rgb(170, 171, 56);
/* oklch */ color: oklch(71.9% 0.135 109.8);
Tailwind
colors: {
  custom: {
    50: '#c6c375',
    500: '#aaab38',
    950: '#000000',
  },
}
SCSS
$custom: #aaab38;
$custom-light: #c6c375;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab38",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 60.522,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71899,
    "c": 0.13467,
    "h": 109.8
  },
  "luminance": 0.37957
}

Semantic roles & 50–950 ramp

primary
#AAAB38
secondary
#7E7DC1
accent
#4EDA4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #AAAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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