#AABC2A#AABC2A

#AABC2A is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.161 H 116.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#AABC2A
RGBrgb(170, 188, 42)
HSLhsl(67, 63%, 45%)
HSVhsv(67, 78%, 74%)
CMYKcmyk(9.6%, 0%, 77.7%, 26.3%)
CIE-LABlab(72.68, -23.93, 65.87)
CIE-LCHlch(72.68, 70.08, 109.97°)
OKLaboklab(75.63% -0.0726 0.1441)
OKLCHoklch(75.63% 0.161 116.7)
XYZxyz(34.9796, 44.6801, 8.9715)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABC2A #3C2ABC
analogous
#BC852A #AABC2A #61BC2A
triadic
#AABC2A #2AAABC #BC2AAA
tetradic
#AABC2A #2ABC85 #3C2ABC #BC2A61
square
#AABC2A #2ABC85 #3C2ABC #BC2A61
split-complementary
#AABC2A #2A61BC #852ABC
monochromatic
#505814 #7D8A1F #AABC2A #C6D74C #D6E27E

Accessibility & contrast

On white

2.11
#AABC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#AABC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABC2A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABC2A#FFFFFF#000000##000000
##AABC2A1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#B5B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabc2a;
/* rgb */ color: rgb(170, 188, 42);
/* oklch */ color: oklch(75.6% 0.161 116.7);
Tailwind
colors: {
  custom: {
    50: '#c7d070',
    500: '#aabc2a',
    950: '#000000',
  },
}
SCSS
$custom: #aabc2a;
$custom-light: #c7d070;
$custom-dark: #000000;
JSON
{
  "hex": "#aabc2a",
  "rgb": {
    "r": 170,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 67.397,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75631,
    "c": 0.1614,
    "h": 116.7
  },
  "luminance": 0.4468
}

Semantic roles & 50–950 ramp

primary
#AABC2A
secondary
#8177CB
accent
#41E756
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AABC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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