#AEAF42#AEAF42

#AEAF42 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.2% C 0.131 H 109.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AEAF42
RGBrgb(174, 175, 66)
HSLhsl(61, 45%, 47%)
HSVhsv(61, 62%, 69%)
CMYKcmyk(0.6%, 0%, 62.3%, 31.4%)
CIE-LABlab(69.51, -14.43, 53.98)
CIE-LCHlch(69.51, 55.88, 104.97°)
OKLaboklab(73.22% -0.0441 0.1229)
OKLCHoklch(73.22% 0.131 109.7)
XYZxyz(33.7699, 40.0529, 11.1053)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF42 #4342AF
analogous
#AF7942 #AEAF42 #78AF42
triadic
#AEAF42 #42AEAF #AF42AE
tetradic
#AEAF42 #42AF79 #4342AF #AF4278
square
#AEAF42 #42AF79 #4342AF #AF4278
split-complementary
#AEAF42 #4278AF #7942AF
monochromatic
#565620 #828331 #AEAF42 #C5C668 #D6D795

Accessibility & contrast

On white

2.33
#AEAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#AEAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAF42
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAF42#FFFFFF#000000##000000
##AEAF421.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#BEAB49
Tritanopia (blue-blind)
#BAA598
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aeaf42;
/* rgb */ color: rgb(174, 175, 66);
/* oklch */ color: oklch(73.2% 0.131 109.7);
Tailwind
colors: {
  custom: {
    50: '#c9c67b',
    500: '#aeaf42',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf42;
$custom-light: #c9c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf42",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 60.55,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73215,
    "c": 0.13057,
    "h": 109.7
  },
  "luminance": 0.40052
}

Semantic roles & 50–950 ramp

primary
#AEAF42
secondary
#8B8AC2
accent
#53D554
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AEAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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