#AAB828#AAB828

#AAB828 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.7% C 0.158 H 115.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#AAB828
RGBrgb(170, 184, 40)
HSLhsl(66, 64%, 44%)
HSVhsv(66, 78%, 72%)
CMYKcmyk(7.6%, 0%, 78.3%, 27.8%)
CIE-LABlab(71.54, -22.05, 65.43)
CIE-LCHlch(71.54, 69.05, 108.62°)
OKLaboklab(74.71% -0.0676 0.1429)
OKLCHoklch(74.71% 0.158 115.3)
XYZxyz(34.1020, 42.9808, 8.5067)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB828 #3628B8
analogous
#B87E28 #AAB828 #62B828
triadic
#AAB828 #28AAB8 #B828AA
tetradic
#AAB828 #28B87E #3628B8 #B82862
square
#AAB828 #28B87E #3628B8 #B82862
split-complementary
#AAB828 #2862B8 #7E28B8
monochromatic
#4D5312 #7C861D #AAB828 #C9D746 #D8E279

Accessibility & contrast

On white

2.19
#AAB828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#AAB828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB828
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB828#FFFFFF#000000##000000
##AAB8281.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C5B036
Tritanopia (blue-blind)
#B5AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aab828;
/* rgb */ color: rgb(170, 184, 40);
/* oklch */ color: oklch(74.7% 0.158 115.3);
Tailwind
colors: {
  custom: {
    50: '#c7cd6f',
    500: '#aab828',
    950: '#000000',
  },
}
SCSS
$custom: #aab828;
$custom-light: #c7cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab828",
  "rgb": {
    "r": 170,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 65.833,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74713,
    "c": 0.15805,
    "h": 115.3
  },
  "luminance": 0.4298
}

Semantic roles & 50–950 ramp

primary
#AAB828
secondary
#7B72CA
accent
#41E751
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB828

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

Preview Lab → · Contrast checker → · Palette generator →

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