#AAB340#AAB340

#AAB340 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.8% C 0.137 H 113.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#AAB340
RGBrgb(170, 179, 64)
HSLhsl(65, 47%, 48%)
HSVhsv(65, 64%, 70%)
CMYKcmyk(5%, 0%, 64.2%, 29.8%)
CIE-LABlab(70.29, -18.30, 55.56)
CIE-LCHlch(70.29, 58.49, 108.23°)
OKLaboklab(73.75% -0.0549 0.126)
OKLCHoklch(73.75% 0.137 113.6)
XYZxyz(33.6239, 41.1571, 11.0223)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB340 #4940B3
analogous
#B38340 #AAB340 #70B340
triadic
#AAB340 #40AAB3 #B340AA
tetradic
#AAB340 #40B383 #4940B3 #B34070
square
#AAB340 #40B383 #4940B3 #B34070
split-complementary
#AAB340 #4070B3 #8340B3
monochromatic
#545920 #7F8630 #AAB340 #C1C967 #D4D994

Accessibility & contrast

On white

2.27
#AAB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#AAB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB340
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB340#FFFFFF#000000##000000
##AAB3401.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#B5A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab340;
/* rgb */ color: rgb(170, 179, 64);
/* oklch */ color: oklch(73.8% 0.137 113.6);
Tailwind
colors: {
  custom: {
    50: '#c6c97b',
    500: '#aab340',
    950: '#000000',
  },
}
SCSS
$custom: #aab340;
$custom-light: #c6c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab340",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 64.696,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73754,
    "c": 0.13749,
    "h": 113.6
  },
  "luminance": 0.41156
}

Semantic roles & 50–950 ramp

primary
#AAB340
secondary
#8F8AC4
accent
#51D75B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB340

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

Preview Lab → · Contrast checker → · Palette generator →

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