#AAB438#AAB438

#AAB438 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.144 H 113.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#AAB438
RGBrgb(170, 180, 56)
HSLhsl(65, 53%, 46%)
HSVhsv(65, 69%, 71%)
CMYKcmyk(5.6%, 0%, 68.9%, 29.4%)
CIE-LABlab(70.51, -19.29, 58.99)
CIE-LCHlch(70.51, 62.06, 108.11°)
OKLaboklab(73.91% -0.0585 0.132)
OKLCHoklch(73.91% 0.144 113.9)
XYZxyz(33.6136, 41.4747, 9.9753)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB438 #4238B4
analogous
#B48038 #AAB438 #6CB438
triadic
#AAB438 #38AAB4 #B438AA
tetradic
#AAB438 #38B480 #4238B4 #B4386C
square
#AAB438 #38B480 #4238B4 #B4386C
split-complementary
#AAB438 #386CB4 #8038B4
monochromatic
#52571B #7E8529 #AAB438 #C3CD5D #D5DB8B

Accessibility & contrast

On white

2.26
#AAB438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#AAB438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB438
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB438#FFFFFF#000000##000000
##AAB4381.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#B5A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aab438;
/* rgb */ color: rgb(170, 180, 56);
/* oklch */ color: oklch(73.9% 0.144 113.9);
Tailwind
colors: {
  custom: {
    50: '#c6ca76',
    500: '#aab438',
    950: '#000000',
  },
}
SCSS
$custom: #aab438;
$custom-light: #c6ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#aab438",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 64.839,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73912,
    "c": 0.1444,
    "h": 113.9
  },
  "luminance": 0.41474
}

Semantic roles & 50–950 ramp

primary
#AAB438
secondary
#8882C5
accent
#4CDC57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB438

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

Preview Lab → · Contrast checker → · Palette generator →

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