#AEAF26#AEAF26

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

Color values

HEX#AEAF26
RGBrgb(174, 175, 38)
HSLhsl(60, 64%, 42%)
HSVhsv(60, 78%, 69%)
CMYKcmyk(0.6%, 0%, 78.3%, 31.4%)
CIE-LABlab(69.33, -15.88, 64.16)
CIE-LCHlch(69.33, 66.09, 103.90°)
OKLaboklab(73.01% -0.0509 0.1396)
OKLCHoklch(73.01% 0.149 110)
XYZxyz(33.1366, 39.7995, 7.7699)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF26 #2726AF
analogous
#AF6C26 #AEAF26 #6AAF26
triadic
#AEAF26 #26AEAF #AF26AE
tetradic
#AEAF26 #26AF6C #2726AF #AF266A
square
#AEAF26 #26AF6C #2726AF #AF266A
split-complementary
#AEAF26 #266AAF #6C26AF
monochromatic
#4A4A10 #7C7D1B #AEAF26 #D4D53D #DFE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEAF26#FFFFFF#000000##000000
##AEAF261.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)
#BFAB32
Tritanopia (blue-blind)
#BBA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aeaf26;
/* rgb */ color: rgb(174, 175, 38);
/* oklch */ color: oklch(73.0% 0.149 110.0);
Tailwind
colors: {
  custom: {
    50: '#cac66d',
    500: '#aeaf26',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf26;
$custom-light: #cac66d;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf26",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 60.438,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73013,
    "c": 0.1486,
    "h": 110
  },
  "luminance": 0.39799
}

Semantic roles & 50–950 ramp

primary
#AEAF26
secondary
#6B6AC7
accent
#40E742
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AEAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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