#AAB626#AAB626

#AAB626 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.157 H 114.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AAB626
RGBrgb(170, 182, 38)
HSLhsl(65, 65%, 43%)
HSVhsv(65, 79%, 71%)
CMYKcmyk(6.6%, 0%, 79.1%, 28.6%)
CIE-LABlab(70.97, -21.13, 65.51)
CIE-LCHlch(70.97, 68.83, 107.88°)
OKLaboklab(74.25% -0.0652 0.1427)
OKLCHoklch(74.25% 0.157 114.6)
XYZxyz(33.6564, 42.1425, 8.1947)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB626 #3226B6
analogous
#B67A26 #AAB626 #62B626
triadic
#AAB626 #26AAB6 #B626AA
tetradic
#AAB626 #26B67A #3226B6 #B62662
square
#AAB626 #26B67A #3226B6 #B62662
split-complementary
#AAB626 #2662B6 #7A26B6
monochromatic
#4B5111 #7B831B #AAB626 #CBD742 #D9E274

Accessibility & contrast

On white

2.23
#AAB626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AAB626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB626
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB626#FFFFFF#000000##000000
##AAB6261.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#B6AB9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aab626;
/* rgb */ color: rgb(170, 182, 38);
/* oklch */ color: oklch(74.3% 0.157 114.6);
Tailwind
colors: {
  custom: {
    50: '#c7cb6e',
    500: '#aab626',
    950: '#000000',
  },
}
SCSS
$custom: #aab626;
$custom-light: #c7cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab626",
  "rgb": {
    "r": 170,
    "g": 182,
    "b": 38
  },
  "hsl": {
    "h": 65,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74251,
    "c": 0.15686,
    "h": 114.6
  },
  "luminance": 0.42142
}

Semantic roles & 50–950 ramp

primary
#AAB626
secondary
#766EC9
accent
#3FE84D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB626

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

Preview Lab → · Contrast checker → · Palette generator →

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