#AAB12D#AAB12D

#AAB12D is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.2% C 0.148 H 112.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#AAB12D
RGBrgb(170, 177, 45)
HSLhsl(63, 59%, 44%)
HSVhsv(63, 75%, 69%)
CMYKcmyk(4%, 0%, 74.6%, 30.6%)
CIE-LABlab(69.60, -18.34, 62.07)
CIE-LCHlch(69.60, 64.72, 106.46°)
OKLaboklab(73.16% -0.0569 0.1366)
OKLCHoklch(73.16% 0.148 112.6)
XYZxyz(32.7744, 40.1806, 8.5113)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB12D #342DB1
analogous
#B1762D #AAB12D #68B12D
triadic
#AAB12D #2DAAB1 #B12DAA
tetradic
#AAB12D #2DB176 #342DB1 #B12D68
square
#AAB12D #2DB176 #342DB1 #B12D68
split-complementary
#AAB12D #2D68B1 #762DB1
monochromatic
#4C4F14 #7B8021 #AAB12D #CAD14A #D8DD7B

Accessibility & contrast

On white

2.32
#AAB12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#AAB12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB12D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB12D#FFFFFF#000000##000000
##AAB12D1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90F
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab12d;
/* rgb */ color: rgb(170, 177, 45);
/* oklch */ color: oklch(73.2% 0.148 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c870',
    500: '#aab12d',
    950: '#000000',
  },
}
SCSS
$custom: #aab12d;
$custom-light: #c7c870;
$custom-dark: #000000;
JSON
{
  "hex": "#aab12d",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 63.182,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73162,
    "c": 0.14798,
    "h": 112.6
  },
  "luminance": 0.4018
}

Semantic roles & 50–950 ramp

primary
#AAB12D
secondary
#7874C6
accent
#45E34E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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