#AE9F2F#AE9F2F

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

Color values

HEX#AE9F2F
RGBrgb(174, 159, 47)
HSLhsl(53, 57%, 43%)
HSVhsv(53, 73%, 68%)
CMYKcmyk(0%, 8.6%, 73%, 31.8%)
CIE-LABlab(64.96, -7.16, 57.06)
CIE-LCHlch(64.96, 57.51, 97.15°)
OKLaboklab(69.55% -0.0256 0.1262)
OKLCHoklch(69.55% 0.129 101.5)
XYZxyz(30.3682, 34.0015, 7.6521)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE9F2F #2F3EAE
analogous
#AE5F2F #AE9F2F #7DAE2F
triadic
#AE9F2F #2FAE9F #9F2FAE
tetradic
#AE9F2F #2FAE5F #2F3EAE #AE2F7D
square
#AE9F2F #2FAE5F #2F3EAE #AE2F7D
split-complementary
#AE9F2F #2F7DAE #5F2FAE
monochromatic
#4E4715 #7E7322 #AE9F2F #CFBF4C #DCD07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE9F2F#FFFFFF#000000##000000
##AE9F2F1.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)
#AE9A1C
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#BB9389
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ae9f2f;
/* rgb */ color: rgb(174, 159, 47);
/* oklch */ color: oklch(69.6% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#cabb6f',
    500: '#ae9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ae9f2f;
$custom-light: #cabb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ae9f2f",
  "rgb": {
    "r": 174,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 52.913,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69552,
    "c": 0.12879,
    "h": 101.5
  },
  "luminance": 0.34
}

Semantic roles & 50–950 ramp

primary
#AE9F2F
secondary
#757EC4
accent
#59E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AE9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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