#AE8C1F#AE8C1F

#AE8C1F is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.4% C 0.125 H 89.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AE8C1F
RGBrgb(174, 140, 31)
HSLhsl(46, 70%, 40%)
HSVhsv(46, 82%, 68%)
CMYKcmyk(0%, 19.5%, 82.2%, 31.8%)
CIE-LABlab(59.76, 2.48, 57.84)
CIE-LCHlch(59.76, 57.89, 87.55°)
OKLaboklab(65.41% 0.0002 0.1246)
OKLCHoklch(65.41% 0.125 89.9)
XYZxyz(27.0826, 27.8556, 5.2463)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8C1F #1F41AE
analogous
#AE441F #AE8C1F #89AE1F
triadic
#AE8C1F #1FAE8C #8C1FAE
tetradic
#AE8C1F #1FAE44 #1F41AE #AE1F89
square
#AE8C1F #1FAE44 #1F41AE #AE1F89
split-complementary
#AE8C1F #1F89AE #441FAE
monochromatic
#46380C #7A6216 #AE8C1F #DAB230 #E3C564

Accessibility & contrast

On white

3.20
#AE8C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AE8C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE8C1F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8C1F#FFFFFF#000000##000000
##AE8C1F1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A01
Deuteranopia (green-blind)
#A59426
Tritanopia (blue-blind)
#BD7F78
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ae8c1f;
/* rgb */ color: rgb(174, 140, 31);
/* oklch */ color: oklch(65.4% 0.125 89.9);
Tailwind
colors: {
  custom: {
    50: '#cbad65',
    500: '#ae8c1f',
    950: '#000000',
  },
}
SCSS
$custom: #ae8c1f;
$custom-light: #cbad65;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8c1f",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 45.734,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65405,
    "c": 0.12462,
    "h": 89.9
  },
  "luminance": 0.27854
}

Semantic roles & 50–950 ramp

primary
#AE8C1F
secondary
#6079C8
accent
#65ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AE8C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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