#AEC12D#AEC12D

#AEC12D is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.164 H 117.0°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#AEC12D
RGBrgb(174, 193, 45)
HSLhsl(68, 62%, 47%)
HSVhsv(68, 77%, 76%)
CMYKcmyk(9.8%, 0%, 76.7%, 24.3%)
CIE-LABlab(74.40, -24.57, 66.63)
CIE-LCHlch(74.40, 71.02, 110.24°)
OKLaboklab(77.09% -0.0744 0.1462)
OKLCHoklch(77.09% 0.164 117)
XYZxyz(37.0001, 47.3285, 9.6683)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC12D #402DC1
analogous
#C18A2D #AEC12D #64C12D
triadic
#AEC12D #2DAEC1 #C12DAE
tetradic
#AEC12D #2DC18A #402DC1 #C12D64
square
#AEC12D #2DC18A #402DC1 #C12D64
split-complementary
#AEC12D #2D64C1 #8A2DC1
monochromatic
#555E16 #818F21 #AEC12D #C6D754 #D7E386

Accessibility & contrast

On white

2.01
#AEC12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#AEC12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC12D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC12D#FFFFFF#000000##000000
##AEC12D1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB601
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#B9B6A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #aec12d;
/* rgb */ color: rgb(174, 193, 45);
/* oklch */ color: oklch(77.1% 0.164 117.0);
Tailwind
colors: {
  custom: {
    50: '#cad372',
    500: '#aec12d',
    950: '#000000',
  },
}
SCSS
$custom: #aec12d;
$custom-light: #cad372;
$custom-dark: #000000;
JSON
{
  "hex": "#aec12d",
  "rgb": {
    "r": 174,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 67.703,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77091,
    "c": 0.16398,
    "h": 117
  },
  "luminance": 0.47328
}

Semantic roles & 50–950 ramp

primary
#AEC12D
secondary
#887ECC
accent
#43E557
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AEC12D

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

Preview Lab → · Contrast checker → · Palette generator →

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