#AAB052#AAB052

#AAB052 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.118 H 112.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#AAB052
RGBrgb(170, 176, 82)
HSLhsl(64, 37%, 51%)
HSVhsv(64, 53%, 69%)
CMYKcmyk(3.4%, 0%, 53.4%, 31%)
CIE-LABlab(69.62, -15.40, 46.74)
CIE-LCHlch(69.62, 49.21, 108.24°)
OKLaboklab(73.27% -0.0449 0.1095)
OKLCHoklch(73.27% 0.118 112.3)
XYZxyz(33.6266, 40.2066, 13.9702)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB052 #5852B0
analogous
#B08752 #AAB052 #7BB052
triadic
#AAB052 #52AAB0 #B052AA
tetradic
#AAB052 #52B087 #5852B0 #B0527B
square
#AAB052 #52B087 #5852B0 #B0527B
split-complementary
#AAB052 #527BB0 #8752B0
monochromatic
#5A5D2B #82873E #AAB052 #BFC37C #D3D6A6

Accessibility & contrast

On white

2.32
#AAB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#AAB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB052
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB052#FFFFFF#000000##000000
##AAB0521.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#BCAB57
Tritanopia (blue-blind)
#B4A79B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab052;
/* rgb */ color: rgb(170, 176, 82);
/* oklch */ color: oklch(73.3% 0.118 112.3);
Tailwind
colors: {
  custom: {
    50: '#c5c785',
    500: '#aab052',
    950: '#000000',
  },
}
SCSS
$custom: #aab052;
$custom-light: #c5c785;
$custom-dark: #000000;
JSON
{
  "hex": "#aab052",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 63.83,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73273,
    "c": 0.11836,
    "h": 112.3
  },
  "luminance": 0.40206
}

Semantic roles & 50–950 ramp

primary
#AAB052
secondary
#9D9AC4
accent
#5BCD62
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAB052

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

Preview Lab → · Contrast checker → · Palette generator →

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