#AEAF2A#AEAF2A

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

Color values

HEX#AEAF2A
RGBrgb(174, 175, 42)
HSLhsl(60, 61%, 43%)
HSVhsv(60, 76%, 69%)
CMYKcmyk(0.6%, 0%, 76%, 31.4%)
CIE-LABlab(69.35, -15.72, 62.94)
CIE-LCHlch(69.35, 64.87, 104.03°)
OKLaboklab(73.04% -0.0501 0.1378)
OKLCHoklch(73.04% 0.147 110)
XYZxyz(33.2047, 39.8268, 8.1283)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF2A #2B2AAF
analogous
#AF6D2A #AEAF2A #6CAF2A
triadic
#AEAF2A #2AAEAF #AF2AAE
tetradic
#AEAF2A #2AAF6D #2B2AAF #AF2A6C
square
#AEAF2A #2AAF6D #2B2AAF #AF2A6C
split-complementary
#AEAF2A #2A6CAF #6D2AAF
monochromatic
#4C4C12 #7D7E1E #AEAF2A #D1D244 #DDDE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEAF2A#FFFFFF#000000##000000
##AEAF2A1.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)
#BDA707
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#BBA496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aeaf2a;
/* rgb */ color: rgb(174, 175, 42);
/* oklch */ color: oklch(73.0% 0.147 110.0);
Tailwind
colors: {
  custom: {
    50: '#cac66f',
    500: '#aeaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf2a;
$custom-light: #cac66f;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf2a",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 60.451,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73035,
    "c": 0.14658,
    "h": 110
  },
  "luminance": 0.39826
}

Semantic roles & 50–950 ramp

primary
#AEAF2A
secondary
#706FC6
accent
#43E445
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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