#AEA840#AEA840

#AEA840 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.125 H 106.0°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#AEA840
RGBrgb(174, 168, 64)
HSLhsl(57, 46%, 47%)
HSVhsv(57, 63%, 68%)
CMYKcmyk(0%, 3.4%, 63.2%, 31.8%)
CIE-LABlab(67.56, -10.94, 52.77)
CIE-LCHlch(67.56, 53.89, 101.71°)
OKLaboklab(71.66% -0.0344 0.12)
OKLCHoklch(71.66% 0.125 106)
XYZxyz(32.3847, 37.3752, 10.3577)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA840 #4046AE
analogous
#AE7140 #AEA840 #7DAE40
triadic
#AEA840 #40AEA8 #A840AE
tetradic
#AEA840 #40AE71 #4046AE #AE407D
square
#AEA840 #40AE71 #4046AE #AE407D
split-complementary
#AEA840 #407DAE #7140AE
monochromatic
#55521F #817D30 #AEA840 #C6C165 #D7D392

Accessibility & contrast

On white

2.48
#AEA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#AEA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA840
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA840#FFFFFF#000000##000000
##AEA8401.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B8A746
Tritanopia (blue-blind)
#BA9D92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aea840;
/* rgb */ color: rgb(174, 168, 64);
/* oklch */ color: oklch(71.7% 0.125 106.0);
Tailwind
colors: {
  custom: {
    50: '#c9c17a',
    500: '#aea840',
    950: '#000000',
  },
}
SCSS
$custom: #aea840;
$custom-light: #c9c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#aea840",
  "rgb": {
    "r": 174,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 56.727,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71656,
    "c": 0.12488,
    "h": 106
  },
  "luminance": 0.37374
}

Semantic roles & 50–950 ramp

primary
#AEA840
secondary
#888BC2
accent
#59D652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AEA840

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

Preview Lab → · Contrast checker → · Palette generator →

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