#AEAF2B#AEAF2B

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

Color values

HEX#AEAF2B
RGBrgb(174, 175, 43)
HSLhsl(60, 61%, 43%)
HSVhsv(60, 75%, 69%)
CMYKcmyk(0.6%, 0%, 75.4%, 31.4%)
CIE-LABlab(69.35, -15.68, 62.62)
CIE-LCHlch(69.35, 64.55, 104.06°)
OKLaboklab(73.04% -0.0499 0.1373)
OKLCHoklch(73.04% 0.146 110)
XYZxyz(33.2228, 39.8340, 8.2237)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF2B #2C2BAF
analogous
#AF6E2B #AEAF2B #6CAF2B
triadic
#AEAF2B #2BAEAF #AF2BAE
tetradic
#AEAF2B #2BAF6E #2C2BAF #AF2B6C
square
#AEAF2B #2BAF6E #2C2BAF #AF2B6C
split-complementary
#AEAF2B #2B6CAF #6E2BAF
monochromatic
#4C4D13 #7D7E1F #AEAF2B #D0D146 #DDDE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEAF2B#FFFFFF#000000##000000
##AEAF2B1.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)
#BDA70A
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#BBA496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aeaf2b;
/* rgb */ color: rgb(174, 175, 43);
/* oklch */ color: oklch(73.0% 0.146 110.0);
Tailwind
colors: {
  custom: {
    50: '#cac66f',
    500: '#aeaf2b',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf2b;
$custom-light: #cac66f;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf2b",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 60.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.14605,
    "h": 110
  },
  "luminance": 0.39833
}

Semantic roles & 50–950 ramp

primary
#AEAF2B
secondary
#7170C5
accent
#44E445
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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