#AEA838#AEA838

#AEA838 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.131 H 106.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AEA838
RGBrgb(174, 168, 56)
HSLhsl(57, 51%, 45%)
HSVhsv(57, 68%, 68%)
CMYKcmyk(0%, 3.4%, 67.8%, 31.8%)
CIE-LABlab(67.49, -11.43, 56.06)
CIE-LCHlch(67.49, 57.21, 101.52°)
OKLaboklab(71.58% -0.0367 0.1257)
OKLCHoklch(71.58% 0.131 106.3)
XYZxyz(32.1732, 37.2906, 9.2437)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA838 #383EAE
analogous
#AE6D38 #AEA838 #79AE38
triadic
#AEA838 #38AEA8 #A838AE
tetradic
#AEA838 #38AE6D #383EAE #AE3879
square
#AEA838 #38AE6D #383EAE #AE3879
split-complementary
#AEA838 #3879AE #6D38AE
monochromatic
#514F1A #807B29 #AEA838 #CAC459 #D9D588

Accessibility & contrast

On white

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

On black

8.46
#AEA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA838
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA838#FFFFFF#000000##000000
##AEA8381.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#B9A63F
Tritanopia (blue-blind)
#BB9D91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aea838;
/* rgb */ color: rgb(174, 168, 56);
/* oklch */ color: oklch(71.6% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#c9c175',
    500: '#aea838',
    950: '#000000',
  },
}
SCSS
$custom: #aea838;
$custom-light: #c9c175;
$custom-dark: #000000;
JSON
{
  "hex": "#aea838",
  "rgb": {
    "r": 174,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 56.949,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.13095,
    "h": 106.3
  },
  "luminance": 0.37289
}

Semantic roles & 50–950 ramp

primary
#AEA838
secondary
#7F83C3
accent
#54DB4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AEA838

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

Preview Lab → · Contrast checker → · Palette generator →

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