#AE9F31#AE9F31

#AE9F31 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.6% C 0.128 H 101.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#AE9F31
RGBrgb(174, 159, 49)
HSLhsl(53, 56%, 44%)
HSVhsv(53, 72%, 68%)
CMYKcmyk(0%, 8.6%, 71.8%, 31.8%)
CIE-LABlab(64.98, -7.06, 56.31)
CIE-LCHlch(64.98, 56.75, 97.15°)
OKLaboklab(69.57% -0.0251 0.125)
OKLCHoklch(69.57% 0.128 101.4)
XYZxyz(30.4094, 34.0180, 7.8695)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE9F31 #3140AE
analogous
#AE6031 #AE9F31 #7EAE31
triadic
#AE9F31 #31AE9F #9F31AE
tetradic
#AE9F31 #31AE60 #3140AE #AE317E
square
#AE9F31 #31AE60 #3140AE #AE317E
split-complementary
#AE9F31 #317EAE #6031AE
monochromatic
#4E4816 #7E7324 #AE9F31 #CDBE4F #DBD07F

Accessibility & contrast

On white

2.69
#AE9F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#AE9F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE9F31
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE9F31#FFFFFF#000000##000000
##AE9F311.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#BB9489
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ae9f31;
/* rgb */ color: rgb(174, 159, 49);
/* oklch */ color: oklch(69.6% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#cabb70',
    500: '#ae9f31',
    950: '#000000',
  },
}
SCSS
$custom: #ae9f31;
$custom-light: #cabb70;
$custom-dark: #000000;
JSON
{
  "hex": "#ae9f31",
  "rgb": {
    "r": 174,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 52.8,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69567,
    "c": 0.1275,
    "h": 101.4
  },
  "luminance": 0.34017
}

Semantic roles & 50–950 ramp

primary
#AE9F31
secondary
#7780C4
accent
#5BDF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AE9F31

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

Preview Lab → · Contrast checker → · Palette generator →

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