#AAB545#AAB545

#AAB545 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.2% C 0.136 H 114.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#AAB545
RGBrgb(170, 181, 69)
HSLhsl(66, 45%, 49%)
HSVhsv(66, 62%, 71%)
CMYKcmyk(6.1%, 0%, 61.9%, 29%)
CIE-LABlab(70.89, -18.97, 54.08)
CIE-LCHlch(70.89, 57.31, 109.33°)
OKLaboklab(74.25% -0.0563 0.1236)
OKLCHoklch(74.25% 0.136 114.5)
XYZxyz(34.1764, 42.0240, 11.9401)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB545 #5045B5
analogous
#B58845 #AAB545 #72B545
triadic
#AAB545 #45AAB5 #B545AA
tetradic
#AAB545 #45B588 #5045B5 #B54572
square
#AAB545 #45B588 #5045B5 #B54572
split-complementary
#AAB545 #4572B5 #8845B5
monochromatic
#575C23 #808934 #AAB545 #BFC86F #D3D99B

Accessibility & contrast

On white

2.23
#AAB545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#AAB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB545
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB545#FFFFFF#000000##000000
##AAB5451.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD37
Deuteranopia (green-blind)
#C1AF4C
Tritanopia (blue-blind)
#B4AB9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab545;
/* rgb */ color: rgb(170, 181, 69);
/* oklch */ color: oklch(74.2% 0.136 114.5);
Tailwind
colors: {
  custom: {
    50: '#c6cb7e',
    500: '#aab545',
    950: '#000000',
  },
}
SCSS
$custom: #aab545;
$custom-light: #c6cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab545",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 65.893,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74249,
    "c": 0.13583,
    "h": 114.5
  },
  "luminance": 0.42023
}

Semantic roles & 50–950 ramp

primary
#AAB545
secondary
#9691C5
accent
#53D560
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB545

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

Preview Lab → · Contrast checker → · Palette generator →

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