#AAB840#AAB840

#AAB840 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.9% C 0.143 H 115.6°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#AAB840
RGBrgb(170, 184, 64)
HSLhsl(67, 48%, 49%)
HSVhsv(67, 65%, 72%)
CMYKcmyk(7.6%, 0%, 65.2%, 27.8%)
CIE-LABlab(71.69, -20.81, 57.03)
CIE-LCHlch(71.69, 60.70, 110.04°)
OKLaboklab(74.88% -0.062 0.1291)
OKLCHoklch(74.88% 0.143 115.6)
XYZxyz(34.6443, 43.1977, 11.3625)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB840 #4E40B8
analogous
#B88A40 #AAB840 #6EB840
triadic
#AAB840 #40AAB8 #B840AA
tetradic
#AAB840 #40B88A #4E40B8 #B8406E
square
#AAB840 #40B88A #4E40B8 #B8406E
split-complementary
#AAB840 #406EB8 #8A40B8
monochromatic
#565D20 #808B30 #AAB840 #C0CB6A #D3DB97

Accessibility & contrast

On white

2.18
#AAB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#AAB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB840
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB840#FFFFFF#000000##000000
##AAB8401.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C3B148
Tritanopia (blue-blind)
#B4AE9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab840;
/* rgb */ color: rgb(170, 184, 64);
/* oklch */ color: oklch(74.9% 0.143 115.6);
Tailwind
colors: {
  custom: {
    50: '#c6cd7b',
    500: '#aab840',
    950: '#000000',
  },
}
SCSS
$custom: #aab840;
$custom-light: #c6cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab840",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 67,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74878,
    "c": 0.14323,
    "h": 115.6
  },
  "luminance": 0.43197
}

Semantic roles & 50–950 ramp

primary
#AAB840
secondary
#948DC7
accent
#50D860
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB840

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

Preview Lab → · Contrast checker → · Palette generator →

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