#AAB12F#AAB12F

#AAB12F 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#AAB12F
RGBrgb(170, 177, 47)
HSLhsl(63, 58%, 44%)
HSVhsv(63, 73%, 69%)
CMYKcmyk(4%, 0%, 73.4%, 30.6%)
CIE-LABlab(69.61, -18.25, 61.40)
CIE-LCHlch(69.61, 64.05, 106.55°)
OKLaboklab(73.18% -0.0565 0.1356)
OKLCHoklch(73.18% 0.147 112.6)
XYZxyz(32.8138, 40.1963, 8.7189)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB12F #362FB1
analogous
#B1772F #AAB12F #69B12F
triadic
#AAB12F #2FAAB1 #B12FAA
tetradic
#AAB12F #2FB177 #362FB1 #B12F69
square
#AAB12F #2FB177 #362FB1 #B12F69
split-complementary
#AAB12F #2F69B1 #772FB1
monochromatic
#4D5015 #7C8122 #AAB12F #C9D04D #D8DD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB12F#FFFFFF#000000##000000
##AAB12F1.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)
#BFA914
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab12f;
/* rgb */ color: rgb(170, 177, 47);
/* oklch */ color: oklch(73.2% 0.147 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c871',
    500: '#aab12f',
    950: '#000000',
  },
}
SCSS
$custom: #aab12f;
$custom-light: #c7c871;
$custom-dark: #000000;
JSON
{
  "hex": "#aab12f",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 63.231,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73175,
    "c": 0.14684,
    "h": 112.6
  },
  "luminance": 0.40196
}

Semantic roles & 50–950 ramp

primary
#AAB12F
secondary
#7B76C5
accent
#47E14F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AAB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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