#AABC28#AABC28

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

Color values

HEX#AABC28
RGBrgb(170, 188, 40)
HSLhsl(67, 65%, 45%)
HSVhsv(67, 79%, 74%)
CMYKcmyk(9.6%, 0%, 78.7%, 26.3%)
CIE-LABlab(72.67, -24.01, 66.45)
CIE-LCHlch(72.67, 70.66, 109.87°)
OKLaboklab(75.62% -0.073 0.145)
OKLCHoklch(75.62% 0.162 116.7)
XYZxyz(34.9447, 44.6662, 8.7876)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABC28 #3A28BC
analogous
#BC8428 #AABC28 #60BC28
triadic
#AABC28 #28AABC #BC28AA
tetradic
#AABC28 #28BC84 #3A28BC #BC2860
square
#AABC28 #28BC84 #3A28BC #BC2860
split-complementary
#AABC28 #2860BC #8428BC
monochromatic
#4F5713 #7C8A1D #AABC28 #C7D849 #D6E37B

Accessibility & contrast

On white

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

On black

9.93
#AABC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABC28
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABC28#FFFFFF#000000##000000
##AABC281.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aabc28;
/* rgb */ color: rgb(170, 188, 40);
/* oklch */ color: oklch(75.6% 0.162 116.7);
Tailwind
colors: {
  custom: {
    50: '#c7d06f',
    500: '#aabc28',
    950: '#000000',
  },
}
SCSS
$custom: #aabc28;
$custom-light: #c7d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#aabc28",
  "rgb": {
    "r": 170,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 67.297,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75621,
    "c": 0.16237,
    "h": 116.7
  },
  "luminance": 0.44666
}

Semantic roles & 50–950 ramp

primary
#AABC28
secondary
#7F75CB
accent
#40E854
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AABC28

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

Preview Lab → · Contrast checker → · Palette generator →

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