#AE8F31#AE8F31

#AE8F31 is a light, moderate yellow. Relative luminance 0.289; OKLCH L 66.2% C 0.116 H 90.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AE8F31
RGBrgb(174, 143, 49)
HSLhsl(45, 56%, 44%)
HSVhsv(45, 72%, 68%)
CMYKcmyk(0%, 17.8%, 71.8%, 31.8%)
CIE-LABlab(60.66, 1.58, 52.02)
CIE-LCHlch(60.66, 52.04, 88.25°)
OKLaboklab(66.15% -0.0004 0.1159)
OKLCHoklch(66.15% 0.116 90.2)
XYZxyz(27.8339, 28.8670, 7.0110)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8F31 #3150AE
analogous
#AE5031 #AE8F31 #8EAE31
triadic
#AE8F31 #31AE8F #8F31AE
tetradic
#AE8F31 #31AE50 #3150AE #AE318E
square
#AE8F31 #31AE50 #3150AE #AE318E
split-complementary
#AE8F31 #318EAE #5031AE
monochromatic
#4E4116 #7E6824 #AE8F31 #CDAE4F #DBC47F

Accessibility & contrast

On white

3.10
#AE8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AE8F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE8F31
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8F31#FFFFFF#000000##000000
##AE8F311.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D24
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#BC837C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ae8f31;
/* rgb */ color: rgb(174, 143, 49);
/* oklch */ color: oklch(66.2% 0.116 90.2);
Tailwind
colors: {
  custom: {
    50: '#caaf6f',
    500: '#ae8f31',
    950: '#000000',
  },
}
SCSS
$custom: #ae8f31;
$custom-light: #caaf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8f31",
  "rgb": {
    "r": 174,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 45.12,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.11593,
    "h": 90.2
  },
  "luminance": 0.28865
}

Semantic roles & 50–950 ramp

primary
#AE8F31
secondary
#778AC4
accent
#6EDF48
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AE8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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