#AEAF40#AEAF40

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

Color values

HEX#AEAF40
RGBrgb(174, 175, 64)
HSLhsl(61, 46%, 47%)
HSVhsv(61, 63%, 69%)
CMYKcmyk(0.6%, 0%, 63.4%, 31.4%)
CIE-LABlab(69.49, -14.56, 54.82)
CIE-LCHlch(69.49, 56.72, 104.88°)
OKLaboklab(73.2% -0.0447 0.1244)
OKLCHoklch(73.2% 0.132 109.8)
XYZxyz(33.7120, 40.0297, 10.8001)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF40 #4140AF
analogous
#AF7940 #AEAF40 #76AF40
triadic
#AEAF40 #40AEAF #AF40AE
tetradic
#AEAF40 #40AF79 #4140AF #AF4076
square
#AEAF40 #40AF79 #4140AF #AF4076
split-complementary
#AEAF40 #4076AF #7940AF
monochromatic
#55551F #818230 #AEAF40 #C6C765 #D7D792

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEAF40#FFFFFF#000000##000000
##AEAF401.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)
#BCA832
Deuteranopia (green-blind)
#BEAB47
Tritanopia (blue-blind)
#BAA498
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aeaf40;
/* rgb */ color: rgb(174, 175, 64);
/* oklch */ color: oklch(73.2% 0.132 109.8);
Tailwind
colors: {
  custom: {
    50: '#c9c67a',
    500: '#aeaf40',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf40;
$custom-light: #c9c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf40",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 60.541,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73197,
    "c": 0.13215,
    "h": 109.8
  },
  "luminance": 0.40029
}

Semantic roles & 50–950 ramp

primary
#AEAF40
secondary
#8988C3
accent
#52D653
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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