#AAB317#AAB317

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

Color values

HEX#AAB317
RGBrgb(170, 179, 23)
HSLhsl(63, 77%, 40%)
HSVhsv(63, 87%, 70%)
CMYKcmyk(5%, 0%, 87.2%, 29.8%)
CIE-LABlab(70.07, -20.09, 68.41)
CIE-LCHlch(70.07, 71.30, 106.37°)
OKLaboklab(73.51% -0.0633 0.1464)
OKLCHoklch(73.51% 0.16 113.4)
XYZxyz(32.8535, 40.8489, 6.9644)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB317 #2017B3
analogous
#B36E17 #AAB317 #5CB317
triadic
#AAB317 #17AAB3 #B317AA
tetradic
#AAB317 #17B36E #2017B3 #B3175C
square
#AAB317 #17B36E #2017B3 #B3175C
split-complementary
#AAB317 #175CB3 #6E17B3
monochromatic
#434709 #767D10 #AAB317 #D8E324 #E2EA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB317#FFFFFF#000000##000000
##AAB3171.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)
#B6A898
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab317;
/* rgb */ color: rgb(170, 179, 23);
/* oklch */ color: oklch(73.5% 0.160 113.4);
Tailwind
colors: {
  custom: {
    50: '#c7c968',
    500: '#aab317',
    950: '#000000',
  },
}
SCSS
$custom: #aab317;
$custom-light: #c7c968;
$custom-dark: #000000;
JSON
{
  "hex": "#aab317",
  "rgb": {
    "r": 170,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 63.462,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.15954,
    "h": 113.4
  },
  "luminance": 0.40848
}

Semantic roles & 50–950 ramp

primary
#AAB317
secondary
#5F58CD
accent
#34F43F
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AAB317

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

Preview Lab → · Contrast checker → · Palette generator →

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