#AE972A#AE972A

#AE972A is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.8% C 0.126 H 96.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AE972A
RGBrgb(174, 151, 42)
HSLhsl(50, 61%, 42%)
HSVhsv(50, 76%, 68%)
CMYKcmyk(0%, 13.2%, 75.9%, 31.8%)
CIE-LABlab(62.76, -3.10, 56.81)
CIE-LCHlch(62.76, 56.89, 93.13°)
OKLaboklab(67.8% -0.0146 0.1247)
OKLCHoklch(67.8% 0.126 96.7)
XYZxyz(28.9416, 31.3006, 6.7072)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE972A #2A41AE
analogous
#AE552A #AE972A #83AE2A
triadic
#AE972A #2AAE97 #972AAE
tetradic
#AE972A #2AAE55 #2A41AE #AE2A83
square
#AE972A #2AAE55 #2A41AE #AE2A83
split-complementary
#AE972A #2A83AE #552AAE
monochromatic
#4B4112 #7D6C1E #AE972A #D2B943 #DECB75

Accessibility & contrast

On white

2.89
#AE972A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AE972A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE972A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE972A#FFFFFF#000000##000000
##AE972A1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79416
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#BC8B82
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae972a;
/* rgb */ color: rgb(174, 151, 42);
/* oklch */ color: oklch(67.8% 0.126 96.7);
Tailwind
colors: {
  custom: {
    50: '#cab56c',
    500: '#ae972a',
    950: '#000000',
  },
}
SCSS
$custom: #ae972a;
$custom-light: #cab56c;
$custom-dark: #000000;
JSON
{
  "hex": "#ae972a",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 49.545,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67796,
    "c": 0.12557,
    "h": 96.7
  },
  "luminance": 0.31299
}

Semantic roles & 50–950 ramp

primary
#AE972A
secondary
#6F7EC5
accent
#60E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AE972A

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

Preview Lab → · Contrast checker → · Palette generator →

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