#AABA38#AABA38

#AABA38 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.3% C 0.151 H 116.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#AABA38
RGBrgb(170, 186, 56)
HSLhsl(67, 54%, 47%)
HSVhsv(67, 70%, 73%)
CMYKcmyk(8.6%, 0%, 69.9%, 27.1%)
CIE-LABlab(72.19, -22.28, 60.67)
CIE-LCHlch(72.19, 64.63, 110.16°)
OKLaboklab(75.27% -0.0668 0.1356)
OKLCHoklch(75.27% 0.151 116.2)
XYZxyz(34.8511, 43.9499, 10.3879)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA38 #4838BA
analogous
#BA8938 #AABA38 #69BA38
triadic
#AABA38 #38AABA #BA38AA
tetradic
#AABA38 #38BA89 #4838BA #BA3869
square
#AABA38 #38BA89 #4838BA #BA3869
split-complementary
#AABA38 #3869BA #8938BA
monochromatic
#545C1C #7F8B2A #AABA38 #C1CF60 #D4DD8F

Accessibility & contrast

On white

2.15
#AABA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#AABA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA38
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA38#FFFFFF#000000##000000
##AABA381.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B023
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaba38;
/* rgb */ color: rgb(170, 186, 56);
/* oklch */ color: oklch(75.3% 0.151 116.2);
Tailwind
colors: {
  custom: {
    50: '#c6ce77',
    500: '#aaba38',
    950: '#000000',
  },
}
SCSS
$custom: #aaba38;
$custom-light: #c6ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba38",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 67.385,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75266,
    "c": 0.15114,
    "h": 116.2
  },
  "luminance": 0.43949
}

Semantic roles & 50–950 ramp

primary
#AABA38
secondary
#8E86C8
accent
#4BDD5D
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #AABA38

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

Preview Lab → · Contrast checker → · Palette generator →

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