#AABA40#AABA40

#AABA40 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.146 H 116.4°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#AABA40
RGBrgb(170, 186, 64)
HSLhsl(68, 49%, 49%)
HSVhsv(68, 66%, 73%)
CMYKcmyk(8.6%, 0%, 65.6%, 27.1%)
CIE-LABlab(72.25, -21.80, 57.61)
CIE-LCHlch(72.25, 61.60, 110.72°)
OKLaboklab(75.33% -0.0647 0.1304)
OKLCHoklch(75.33% 0.146 116.4)
XYZxyz(35.0627, 44.0345, 11.5019)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA40 #5040BA
analogous
#BA8D40 #AABA40 #6DBA40
triadic
#AABA40 #40AABA #BA40AA
tetradic
#AABA40 #40BA8D #5040BA #BA406D
square
#AABA40 #40BA8D #5040BA #BA406D
split-complementary
#AABA40 #406DBA #8D40BA
monochromatic
#575F21 #808C30 #AABA40 #BFCC6B #D3DC99

Accessibility & contrast

On white

2.14
#AABA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#AABA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA40
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA40#FFFFFF#000000##000000
##AABA401.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B12F
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#B4B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba40;
/* rgb */ color: rgb(170, 186, 64);
/* oklch */ color: oklch(75.3% 0.146 116.4);
Tailwind
colors: {
  custom: {
    50: '#c6ce7b',
    500: '#aaba40',
    950: '#000000',
  },
}
SCSS
$custom: #aaba40;
$custom-light: #c6ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba40",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 67.869,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75329,
    "c": 0.14556,
    "h": 116.4
  },
  "luminance": 0.44034
}

Semantic roles & 50–950 ramp

primary
#AABA40
secondary
#968EC8
accent
#4FD861
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AABA40

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

Preview Lab → · Contrast checker → · Palette generator →

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