#AAC02C#AAC02C

#AAC02C is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.6% C 0.165 H 118.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#AAC02C
RGBrgb(170, 192, 44)
HSLhsl(69, 63%, 46%)
HSVhsv(69, 77%, 75%)
CMYKcmyk(11.5%, 0%, 77.1%, 24.7%)
CIE-LABlab(73.82, -25.79, 66.31)
CIE-LCHlch(73.82, 71.15, 111.26°)
OKLaboklab(76.55% -0.0776 0.1454)
OKLCHoklch(76.55% 0.165 118.1)
XYZxyz(35.8827, 46.4275, 9.4535)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC02C #422CC0
analogous
#C08C2C #AAC02C #60C02C
triadic
#AAC02C #2CAAC0 #C02CAA
tetradic
#AAC02C #2CC08C #422CC0 #C02C60
square
#AAC02C #2CC08C #422CC0 #C02C60
split-complementary
#AAC02C #2C60C0 #8C2CC0
monochromatic
#525C15 #7E8E21 #AAC02C #C3D752 #D5E384

Accessibility & contrast

On white

2.04
#AAC02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#AAC02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC02C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC02C#FFFFFF#000000##000000
##AAC02C1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#B5B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aac02c;
/* rgb */ color: rgb(170, 192, 44);
/* oklch */ color: oklch(76.6% 0.165 118.1);
Tailwind
colors: {
  custom: {
    50: '#c7d372',
    500: '#aac02c',
    950: '#000000',
  },
}
SCSS
$custom: #aac02c;
$custom-light: #c7d372;
$custom-dark: #000000;
JSON
{
  "hex": "#aac02c",
  "rgb": {
    "r": 170,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 68.919,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76552,
    "c": 0.16482,
    "h": 118.1
  },
  "luminance": 0.46427
}

Semantic roles & 50–950 ramp

primary
#AAC02C
secondary
#887CCC
accent
#42E65A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AAC02C

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

Preview Lab → · Contrast checker → · Palette generator →

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