#AAB140#AAB140

#AAB140 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.135 H 112.7°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AAB140
RGBrgb(170, 177, 64)
HSLhsl(64, 47%, 47%)
HSVhsv(64, 64%, 69%)
CMYKcmyk(4%, 0%, 63.8%, 30.6%)
CIE-LABlab(69.73, -17.29, 54.97)
CIE-LCHlch(69.73, 57.62, 107.46°)
OKLaboklab(73.31% -0.0521 0.1248)
OKLCHoklch(73.31% 0.135 112.7)
XYZxyz(33.2260, 40.3612, 10.8897)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB140 #4740B1
analogous
#B18040 #AAB140 #71B140
triadic
#AAB140 #40AAB1 #B140AA
tetradic
#AAB140 #40B180 #4740B1 #B14071
square
#AAB140 #40B180 #4740B1 #B14071
split-complementary
#AAB140 #4071B1 #8040B1
monochromatic
#54571F #7F8430 #AAB140 #C2C866 #D4D893

Accessibility & contrast

On white

2.31
#AAB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AAB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB140
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB140#FFFFFF#000000##000000
##AAB1401.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#BEAC47
Tritanopia (blue-blind)
#B5A79A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab140;
/* rgb */ color: rgb(170, 177, 64);
/* oklch */ color: oklch(73.3% 0.135 112.7);
Tailwind
colors: {
  custom: {
    50: '#c6c87a',
    500: '#aab140',
    950: '#000000',
  },
}
SCSS
$custom: #aab140;
$custom-light: #c6c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#aab140",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 63.717,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73306,
    "c": 0.13523,
    "h": 112.7
  },
  "luminance": 0.4036
}

Semantic roles & 50–950 ramp

primary
#AAB140
secondary
#8D89C3
accent
#51D75A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB140

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

Preview Lab → · Contrast checker → · Palette generator →

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