#AAB247#AAB247

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

Color values

HEX#AAB247
RGBrgb(170, 178, 71)
HSLhsl(64, 43%, 49%)
HSVhsv(64, 60%, 70%)
CMYKcmyk(4.5%, 0%, 60.1%, 30.2%)
CIE-LABlab(70.07, -17.31, 52.31)
CIE-LCHlch(70.07, 55.10, 108.31°)
OKLaboklab(73.6% -0.0514 0.1202)
OKLCHoklch(73.6% 0.131 113.2)
XYZxyz(33.6361, 40.8424, 12.0715)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB247 #4F47B2
analogous
#B28547 #AAB247 #75B247
triadic
#AAB247 #47AAB2 #B247AA
tetradic
#AAB247 #47B285 #4F47B2 #B24775
square
#AAB247 #47B285 #4F47B2 #B24775
split-complementary
#AAB247 #4775B2 #8547B2
monochromatic
#565B24 #808636 #AAB247 #C0C670 #D3D79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB247#FFFFFF#000000##000000
##AAB2471.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)
#BEAA3B
Deuteranopia (green-blind)
#BEAC4E
Tritanopia (blue-blind)
#B5A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab247;
/* rgb */ color: rgb(170, 178, 71);
/* oklch */ color: oklch(73.6% 0.131 113.2);
Tailwind
colors: {
  custom: {
    50: '#c6c87f',
    500: '#aab247',
    950: '#000000',
  },
}
SCSS
$custom: #aab247;
$custom-light: #c6c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab247",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 64.486,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73597,
    "c": 0.13069,
    "h": 113.2
  },
  "luminance": 0.40842
}

Semantic roles & 50–950 ramp

primary
#AAB247
secondary
#9591C4
accent
#55D35E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB247

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

Preview Lab → · Contrast checker → · Palette generator →

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