#AE8F2F#AE8F2F

#AE8F2F is a light, moderate yellow. Relative luminance 0.288; OKLCH L 66.1% C 0.117 H 90.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AE8F2F
RGBrgb(174, 143, 47)
HSLhsl(45, 57%, 43%)
HSVhsv(45, 73%, 68%)
CMYKcmyk(0%, 17.8%, 73%, 31.8%)
CIE-LABlab(60.65, 1.48, 52.83)
CIE-LCHlch(60.65, 52.85, 88.39°)
OKLaboklab(66.14% -0.001 0.1173)
OKLCHoklch(66.14% 0.117 90.5)
XYZxyz(27.7927, 28.8505, 6.7936)
Luminance0.2885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8F2F #2F4EAE
analogous
#AE4F2F #AE8F2F #8DAE2F
triadic
#AE8F2F #2FAE8F #8F2FAE
tetradic
#AE8F2F #2FAE4F #2F4EAE #AE2F8D
square
#AE8F2F #2FAE4F #2F4EAE #AE2F8D
split-complementary
#AE8F2F #2F8DAE #4F2FAE
monochromatic
#4E4015 #7E6722 #AE8F2F #CFAF4C #DCC47C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE8F2F#FFFFFF#000000##000000
##AE8F2F1.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)
#9F8D21
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#BC837C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ae8f2f;
/* rgb */ color: rgb(174, 143, 47);
/* oklch */ color: oklch(66.1% 0.117 90.5);
Tailwind
colors: {
  custom: {
    50: '#caaf6e',
    500: '#ae8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ae8f2f;
$custom-light: #caaf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8f2f",
  "rgb": {
    "r": 174,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 45.354,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66138,
    "c": 0.11727,
    "h": 90.5
  },
  "luminance": 0.28849
}

Semantic roles & 50–950 ramp

primary
#AE8F2F
secondary
#7588C4
accent
#6DE147
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AE8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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