#AAB12E#AAB12E

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

Color values

HEX#AAB12E
RGBrgb(170, 177, 46)
HSLhsl(63, 59%, 44%)
HSVhsv(63, 74%, 69%)
CMYKcmyk(4%, 0%, 74%, 30.6%)
CIE-LABlab(69.60, -18.29, 61.73)
CIE-LCHlch(69.60, 64.39, 106.50°)
OKLaboklab(73.17% -0.0567 0.1361)
OKLCHoklch(73.17% 0.147 112.6)
XYZxyz(32.7939, 40.1883, 8.6139)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB12E #352EB1
analogous
#B1762E #AAB12E #68B12E
triadic
#AAB12E #2EAAB1 #B12EAA
tetradic
#AAB12E #2EB176 #352EB1 #B12E68
square
#AAB12E #2EB176 #352EB1 #B12E68
split-complementary
#AAB12E #2E68B1 #762EB1
monochromatic
#4D5015 #7B8021 #AAB12E #C9D04C #D8DD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB12E#FFFFFF#000000##000000
##AAB12E1.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)
#BFA912
Deuteranopia (green-blind)
#BFAB39
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab12e;
/* rgb */ color: rgb(170, 177, 46);
/* oklch */ color: oklch(73.2% 0.147 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c871',
    500: '#aab12e',
    950: '#000000',
  },
}
SCSS
$custom: #aab12e;
$custom-light: #c7c871;
$custom-dark: #000000;
JSON
{
  "hex": "#aab12e",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 63.206,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73169,
    "c": 0.14741,
    "h": 112.6
  },
  "luminance": 0.40188
}

Semantic roles & 50–950 ramp

primary
#AAB12E
secondary
#7A75C6
accent
#46E24E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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