#AAB246#AAB246

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

Color values

HEX#AAB246
RGBrgb(170, 178, 70)
HSLhsl(64, 44%, 49%)
HSVhsv(64, 61%, 70%)
CMYKcmyk(4.5%, 0%, 60.7%, 30.2%)
CIE-LABlab(70.06, -17.38, 52.74)
CIE-LCHlch(70.06, 55.53, 108.24°)
OKLaboklab(73.59% -0.0517 0.1209)
OKLCHoklch(73.59% 0.132 113.2)
XYZxyz(33.6043, 40.8297, 11.9039)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB246 #4E46B2
analogous
#B28446 #AAB246 #74B246
triadic
#AAB246 #46AAB2 #B246AA
tetradic
#AAB246 #46B284 #4E46B2 #B24674
square
#AAB246 #46B284 #4E46B2 #B24674
split-complementary
#AAB246 #4674B2 #8446B2
monochromatic
#565A23 #808635 #AAB246 #C0C66F #D3D89B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB246#FFFFFF#000000##000000
##AAB2461.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)
#BEAA39
Deuteranopia (green-blind)
#BEAC4D
Tritanopia (blue-blind)
#B5A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab246;
/* rgb */ color: rgb(170, 178, 70);
/* oklch */ color: oklch(73.6% 0.132 113.2);
Tailwind
colors: {
  custom: {
    50: '#c6c87e',
    500: '#aab246',
    950: '#000000',
  },
}
SCSS
$custom: #aab246;
$custom-light: #c6c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab246",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 64.444,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73587,
    "c": 0.13153,
    "h": 113.2
  },
  "luminance": 0.40829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAB246

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

Preview Lab → · Contrast checker → · Palette generator →

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