#AEA238#AEA238

#AEA238 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.125 H 102.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AEA238
RGBrgb(174, 162, 56)
HSLhsl(54, 51%, 45%)
HSVhsv(54, 68%, 68%)
CMYKcmyk(0%, 6.9%, 67.8%, 31.8%)
CIE-LABlab(65.85, -8.28, 54.37)
CIE-LCHlch(65.85, 55.00, 98.66°)
OKLaboklab(70.27% -0.0278 0.1222)
OKLCHoklch(70.27% 0.125 102.8)
XYZxyz(31.0910, 35.1261, 8.8829)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA238 #3844AE
analogous
#AE6738 #AEA238 #7FAE38
triadic
#AEA238 #38AEA2 #A238AE
tetradic
#AEA238 #38AE67 #3844AE #AE387F
square
#AEA238 #38AE67 #3844AE #AE387F
split-complementary
#AEA238 #387FAE #6738AE
monochromatic
#514C1A #807729 #AEA238 #CABE59 #D9D088

Accessibility & contrast

On white

2.62
#AEA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AEA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA238
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA238#FFFFFF#000000##000000
##AEA2381.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#BB978C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aea238;
/* rgb */ color: rgb(174, 162, 56);
/* oklch */ color: oklch(70.3% 0.125 102.8);
Tailwind
colors: {
  custom: {
    50: '#c9bd75',
    500: '#aea238',
    950: '#000000',
  },
}
SCSS
$custom: #aea238;
$custom-light: #c9bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#aea238",
  "rgb": {
    "r": 174,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 53.898,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.12528,
    "h": 102.8
  },
  "luminance": 0.35125
}

Semantic roles & 50–950 ramp

primary
#AEA238
secondary
#7F86C3
accent
#5BDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AEA238

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

Preview Lab → · Contrast checker → · Palette generator →

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