#AE982A#AE982A

#AE982A is a light, vivid yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.126 H 97.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AE982A
RGBrgb(174, 152, 42)
HSLhsl(50, 61%, 42%)
HSVhsv(50, 76%, 68%)
CMYKcmyk(0%, 12.6%, 75.9%, 31.8%)
CIE-LABlab(63.03, -3.64, 57.06)
CIE-LCHlch(63.03, 57.18, 93.65°)
OKLaboklab(68.01% -0.0161 0.1253)
OKLCHoklch(68.01% 0.126 97.3)
XYZxyz(29.1032, 31.6238, 6.7611)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE982A #2A40AE
analogous
#AE562A #AE982A #82AE2A
triadic
#AE982A #2AAE98 #982AAE
tetradic
#AE982A #2AAE56 #2A40AE #AE2A82
square
#AE982A #2AAE56 #2A40AE #AE2A82
split-complementary
#AE982A #2A82AE #562AAE
monochromatic
#4B4212 #7D6D1E #AE982A #D2BA43 #DECC75

Accessibility & contrast

On white

2.87
#AE982A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AE982A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE982A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE982A#FFFFFF#000000##000000
##AE982A1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#AD9C31
Tritanopia (blue-blind)
#BC8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae982a;
/* rgb */ color: rgb(174, 152, 42);
/* oklch */ color: oklch(68.0% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#cab56c',
    500: '#ae982a',
    950: '#000000',
  },
}
SCSS
$custom: #ae982a;
$custom-light: #cab56c;
$custom-dark: #000000;
JSON
{
  "hex": "#ae982a",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 50,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.1263,
    "h": 97.3
  },
  "luminance": 0.31622
}

Semantic roles & 50–950 ramp

primary
#AE982A
secondary
#6F7DC5
accent
#5EE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AE982A

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

Preview Lab → · Contrast checker → · Palette generator →

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