#AAC12F#AAC12F

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

Color values

HEX#AAC12F
RGBrgb(170, 193, 47)
HSLhsl(69, 61%, 47%)
HSVhsv(69, 76%, 76%)
CMYKcmyk(11.9%, 0%, 75.6%, 24.3%)
CIE-LABlab(74.12, -26.15, 65.64)
CIE-LCHlch(74.12, 70.66, 111.72°)
OKLaboklab(76.8% -0.0783 0.1445)
OKLCHoklch(76.8% 0.164 118.5)
XYZxyz(36.1614, 46.8915, 9.8347)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC12F #462FC1
analogous
#C18F2F #AAC12F #61C12F
triadic
#AAC12F #2FAAC1 #C12FAA
tetradic
#AAC12F #2FC18F #462FC1 #C12F61
square
#AAC12F #2FC18F #462FC1 #C12F61
split-complementary
#AAC12F #2F61C1 #8F2FC1
monochromatic
#535F17 #7F9023 #AAC12F #C2D657 #D4E288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAC12F#FFFFFF#000000##000000
##AAC12F1.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)
#CEB609
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#B4B6A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #aac12f;
/* rgb */ color: rgb(170, 193, 47);
/* oklch */ color: oklch(76.8% 0.164 118.5);
Tailwind
colors: {
  custom: {
    50: '#c7d373',
    500: '#aac12f',
    950: '#000000',
  },
}
SCSS
$custom: #aac12f;
$custom-light: #c7d373;
$custom-dark: #000000;
JSON
{
  "hex": "#aac12f",
  "rgb": {
    "r": 170,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 69.452,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76797,
    "c": 0.16439,
    "h": 118.5
  },
  "luminance": 0.46891
}

Semantic roles & 50–950 ramp

primary
#AAC12F
secondary
#8C80CC
accent
#44E45D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #AAC12F

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

Preview Lab → · Contrast checker → · Palette generator →

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