#AAB241#AAB241

#AAB241 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.136 H 113.1°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#AAB241
RGBrgb(170, 178, 65)
HSLhsl(64, 47%, 48%)
HSVhsv(64, 63%, 70%)
CMYKcmyk(4.5%, 0%, 63.5%, 30.2%)
CIE-LABlab(70.01, -17.73, 54.85)
CIE-LCHlch(70.01, 57.64, 107.91°)
OKLaboklab(73.54% -0.0532 0.1247)
OKLCHoklch(73.54% 0.136 113.1)
XYZxyz(33.4530, 40.7692, 11.1070)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB241 #4941B2
analogous
#B28241 #AAB241 #71B241
triadic
#AAB241 #41AAB2 #B241AA
tetradic
#AAB241 #41B282 #4941B2 #B24171
square
#AAB241 #41B282 #4941B2 #B24171
split-complementary
#AAB241 #4171B2 #8241B2
monochromatic
#545820 #7F8531 #AAB241 #C1C868 #D4D895

Accessibility & contrast

On white

2.29
#AAB241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#AAB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB241
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB241#FFFFFF#000000##000000
##AAB2411.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#BFAC48
Tritanopia (blue-blind)
#B5A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab241;
/* rgb */ color: rgb(170, 178, 65);
/* oklch */ color: oklch(73.5% 0.136 113.1);
Tailwind
colors: {
  custom: {
    50: '#c6c87b',
    500: '#aab241',
    950: '#000000',
  },
}
SCSS
$custom: #aab241;
$custom-light: #c6c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab241",
  "rgb": {
    "r": 170,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 64.248,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73539,
    "c": 0.13558,
    "h": 113.1
  },
  "luminance": 0.40768
}

Semantic roles & 50–950 ramp

primary
#AAB241
secondary
#8F8BC4
accent
#52D65B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB241

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

Preview Lab → · Contrast checker → · Palette generator →

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