#AAB245#AAB245

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

Color values

HEX#AAB245
RGBrgb(170, 178, 69)
HSLhsl(64, 44%, 48%)
HSVhsv(64, 61%, 70%)
CMYKcmyk(4.5%, 0%, 61.2%, 30.2%)
CIE-LABlab(70.05, -17.45, 53.17)
CIE-LCHlch(70.05, 55.96, 108.17°)
OKLaboklab(73.58% -0.052 0.1217)
OKLCHoklch(73.58% 0.132 113.1)
XYZxyz(33.5730, 40.8172, 11.7390)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB245 #4D45B2
analogous
#B28345 #AAB245 #73B245
triadic
#AAB245 #45AAB2 #B245AA
tetradic
#AAB245 #45B283 #4D45B2 #B24573
square
#AAB245 #45B283 #4D45B2 #B24573
split-complementary
#AAB245 #4573B2 #8345B2
monochromatic
#565A23 #808634 #AAB245 #C0C76E #D3D89A

Accessibility & contrast

On white

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

On black

9.16
#AAB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB245
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB245#FFFFFF#000000##000000
##AAB2451.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#B5A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab245;
/* rgb */ color: rgb(170, 178, 69);
/* oklch */ color: oklch(73.6% 0.132 113.1);
Tailwind
colors: {
  custom: {
    50: '#c6c87d',
    500: '#aab245',
    950: '#000000',
  },
}
SCSS
$custom: #aab245;
$custom-light: #c6c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#aab245",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 64.404,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73577,
    "c": 0.13236,
    "h": 113.1
  },
  "luminance": 0.40817
}

Semantic roles & 50–950 ramp

primary
#AAB245
secondary
#938FC4
accent
#54D45D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB245

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

Preview Lab → · Contrast checker → · Palette generator →

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