#AAB342#AAB342

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

Color values

HEX#AAB342
RGBrgb(170, 179, 66)
HSLhsl(65, 46%, 48%)
HSVhsv(65, 63%, 70%)
CMYKcmyk(5%, 0%, 63.1%, 29.8%)
CIE-LABlab(70.30, -18.17, 54.73)
CIE-LCHlch(70.30, 57.67, 108.36°)
OKLaboklab(73.77% -0.0544 0.1246)
OKLCHoklch(73.77% 0.136 113.6)
XYZxyz(33.6819, 41.1802, 11.3275)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB342 #4B42B3
analogous
#B38342 #AAB342 #71B342
triadic
#AAB342 #42AAB3 #B342AA
tetradic
#AAB342 #42B383 #4B42B3 #B34271
square
#AAB342 #42B383 #4B42B3 #B34271
split-complementary
#AAB342 #4271B3 #8342B3
monochromatic
#555A21 #808632 #AAB342 #C1C86A #D3D997

Accessibility & contrast

On white

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

On black

9.24
#AAB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB342
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB342#FFFFFF#000000##000000
##AAB3421.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#BFAD49
Tritanopia (blue-blind)
#B5A99C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab342;
/* rgb */ color: rgb(170, 179, 66);
/* oklch */ color: oklch(73.8% 0.136 113.6);
Tailwind
colors: {
  custom: {
    50: '#c6c97c',
    500: '#aab342',
    950: '#000000',
  },
}
SCSS
$custom: #aab342;
$custom-light: #c6c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#aab342",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 64.779,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73772,
    "c": 0.13593,
    "h": 113.6
  },
  "luminance": 0.4118
}

Semantic roles & 50–950 ramp

primary
#AAB342
secondary
#918CC4
accent
#52D65D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB342

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

Preview Lab → · Contrast checker → · Palette generator →

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