#AEAF28#AEAF28

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

Color values

HEX#AEAF28
RGBrgb(174, 175, 40)
HSLhsl(60, 63%, 42%)
HSVhsv(60, 77%, 69%)
CMYKcmyk(0.6%, 0%, 77.1%, 31.4%)
CIE-LABlab(69.34, -15.80, 63.56)
CIE-LCHlch(69.34, 65.49, 103.96°)
OKLaboklab(73.02% -0.0505 0.1387)
OKLCHoklch(73.02% 0.148 110)
XYZxyz(33.1698, 39.8128, 7.9444)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF28 #2928AF
analogous
#AF6C28 #AEAF28 #6BAF28
triadic
#AEAF28 #28AEAF #AF28AE
tetradic
#AEAF28 #28AF6C #2928AF #AF286B
square
#AEAF28 #28AF6C #2928AF #AF286B
split-complementary
#AEAF28 #286BAF #6C28AF
monochromatic
#4B4B11 #7C7D1D #AEAF28 #D2D441 #DEDF73

Accessibility & contrast

On white

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

On black

8.96
#AEAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAF28
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAF28#FFFFFF#000000##000000
##AEAF281.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#BBA496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aeaf28;
/* rgb */ color: rgb(174, 175, 40);
/* oklch */ color: oklch(73.0% 0.148 110.0);
Tailwind
colors: {
  custom: {
    50: '#cac66e',
    500: '#aeaf28',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf28;
$custom-light: #cac66e;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf28",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 60.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73024,
    "c": 0.14762,
    "h": 110
  },
  "luminance": 0.39812
}

Semantic roles & 50–950 ramp

primary
#AEAF28
secondary
#6D6DC6
accent
#42E643
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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