#AAB318#AAB318

#AAB318 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.159 H 113.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AAB318
RGBrgb(170, 179, 24)
HSLhsl(63, 76%, 40%)
HSVhsv(63, 87%, 70%)
CMYKcmyk(5%, 0%, 86.6%, 29.8%)
CIE-LABlab(70.07, -20.07, 68.21)
CIE-LCHlch(70.07, 71.10, 106.39°)
OKLaboklab(73.52% -0.0632 0.1462)
OKLCHoklch(73.52% 0.159 113.4)
XYZxyz(32.8637, 40.8529, 7.0182)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB318 #2118B3
analogous
#B36F18 #AAB318 #5CB318
triadic
#AAB318 #18AAB3 #B318AA
tetradic
#AAB318 #18B36F #2118B3 #B3185C
square
#AAB318 #18B36F #2118B3 #B3185C
split-complementary
#AAB318 #185CB3 #6F18B3
monochromatic
#43470A #777D11 #AAB318 #D7E226 #E1E95C

Accessibility & contrast

On white

2.29
#AAB318 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AAB318 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB318
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB318#FFFFFF#000000##000000
##AAB3181.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD2A
Tritanopia (blue-blind)
#B6A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab318;
/* rgb */ color: rgb(170, 179, 24);
/* oklch */ color: oklch(73.5% 0.159 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7c968',
    500: '#aab318',
    950: '#000000',
  },
}
SCSS
$custom: #aab318;
$custom-light: #c7c968;
$custom-dark: #000000;
JSON
{
  "hex": "#aab318",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 63.484,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.73515,
    "c": 0.15922,
    "h": 113.4
  },
  "luminance": 0.40852
}

Semantic roles & 50–950 ramp

primary
#AAB318
secondary
#615ACD
accent
#35F340
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB318

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

Preview Lab → · Contrast checker → · Palette generator →

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