#AAC12D#AAC12D

#AAC12D is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.8% C 0.165 H 118.4°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#AAC12D
RGBrgb(170, 193, 45)
HSLhsl(69, 62%, 47%)
HSVhsv(69, 77%, 76%)
CMYKcmyk(11.9%, 0%, 76.7%, 24.3%)
CIE-LABlab(74.11, -26.23, 66.26)
CIE-LCHlch(74.11, 71.27, 111.60°)
OKLaboklab(76.79% -0.0787 0.1455)
OKLCHoklch(76.79% 0.165 118.4)
XYZxyz(36.1220, 46.8758, 9.6271)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC12D #442DC1
analogous
#C18E2D #AAC12D #60C12D
triadic
#AAC12D #2DAAC1 #C12DAA
tetradic
#AAC12D #2DC18E #442DC1 #C12D60
square
#AAC12D #2DC18E #442DC1 #C12D60
split-complementary
#AAC12D #2D60C1 #8E2DC1
monochromatic
#535E16 #7E8F21 #AAC12D #C3D754 #D4E386

Accessibility & contrast

On white

2.02
#AAC12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#AAC12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC12D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC12D#FFFFFF#000000##000000
##AAC12D1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB601
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#B4B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #aac12d;
/* rgb */ color: rgb(170, 193, 45);
/* oklch */ color: oklch(76.8% 0.165 118.4);
Tailwind
colors: {
  custom: {
    50: '#c7d372',
    500: '#aac12d',
    950: '#000000',
  },
}
SCSS
$custom: #aac12d;
$custom-light: #c7d372;
$custom-dark: #000000;
JSON
{
  "hex": "#aac12d",
  "rgb": {
    "r": 170,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 69.324,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76786,
    "c": 0.16543,
    "h": 118.4
  },
  "luminance": 0.46875
}

Semantic roles & 50–950 ramp

primary
#AAC12D
secondary
#8A7ECC
accent
#43E55C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #AAC12D

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

Preview Lab → · Contrast checker → · Palette generator →

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