#AEA227#AEA227

#AEA227 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.136 H 103.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AEA227
RGBrgb(174, 162, 39)
HSLhsl(55, 63%, 42%)
HSVhsv(55, 78%, 68%)
CMYKcmyk(0%, 6.9%, 77.6%, 31.8%)
CIE-LABlab(65.74, -9.10, 60.61)
CIE-LCHlch(65.74, 61.29, 98.54°)
OKLaboklab(70.15% -0.0318 0.1322)
OKLCHoklch(70.15% 0.136 103.5)
XYZxyz(30.7435, 34.9871, 7.0529)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA227 #2733AE
analogous
#AE5F27 #AEA227 #77AE27
triadic
#AEA227 #27AEA2 #A227AE
tetradic
#AEA227 #27AE5F #2733AE #AE2777
square
#AEA227 #27AE5F #2733AE #AE2777
split-complementary
#AEA227 #2777AE #5F27AE
monochromatic
#4A4511 #7C731C #AEA227 #D4C73E #DFD570

Accessibility & contrast

On white

2.63
#AEA227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AEA227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA227
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA227#FFFFFF#000000##000000
##AEA2271.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C08
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#BC968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aea227;
/* rgb */ color: rgb(174, 162, 39);
/* oklch */ color: oklch(70.2% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#cabd6c',
    500: '#aea227',
    950: '#000000',
  },
}
SCSS
$custom: #aea227;
$custom-light: #cabd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aea227",
  "rgb": {
    "r": 174,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 54.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.13601,
    "h": 103.5
  },
  "luminance": 0.34986
}

Semantic roles & 50–950 ramp

primary
#AEA227
secondary
#6B73C6
accent
#50E641
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AEA227

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

Preview Lab → · Contrast checker → · Palette generator →

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