#AEAF2D#AEAF2D

#AEAF2D is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.145 H 110.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AEAF2D
RGBrgb(174, 175, 45)
HSLhsl(60, 59%, 43%)
HSVhsv(60, 74%, 69%)
CMYKcmyk(0.6%, 0%, 74.3%, 31.4%)
CIE-LABlab(69.36, -15.60, 61.96)
CIE-LCHlch(69.36, 63.89, 104.13°)
OKLaboklab(73.05% -0.0495 0.1362)
OKLCHoklch(73.05% 0.145 110)
XYZxyz(33.2604, 39.8490, 8.4217)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF2D #2E2DAF
analogous
#AF6F2D #AEAF2D #6DAF2D
triadic
#AEAF2D #2DAEAF #AF2DAE
tetradic
#AEAF2D #2DAF6F #2E2DAF #AF2D6D
square
#AEAF2D #2DAF6F #2E2DAF #AF2D6D
split-complementary
#AEAF2D #2D6DAF #6F2DAF
monochromatic
#4D4E14 #7E7E20 #AEAF2D #CFD049 #DCDD7A

Accessibility & contrast

On white

2.34
#AEAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#AEAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAF2D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAF2D#FFFFFF#000000##000000
##AEAF2D1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA710
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#BAA496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aeaf2d;
/* rgb */ color: rgb(174, 175, 45);
/* oklch */ color: oklch(73.1% 0.145 110.0);
Tailwind
colors: {
  custom: {
    50: '#cac670',
    500: '#aeaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf2d;
$custom-light: #cac670;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf2d",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 60.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73053,
    "c": 0.14494,
    "h": 110
  },
  "luminance": 0.39848
}

Semantic roles & 50–950 ramp

primary
#AEAF2D
secondary
#7473C5
accent
#46E247
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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