#AEAF2F#AEAF2F

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

Color values

HEX#AEAF2F
RGBrgb(174, 175, 47)
HSLhsl(60, 58%, 44%)
HSVhsv(60, 73%, 69%)
CMYKcmyk(0.6%, 0%, 73.1%, 31.4%)
CIE-LABlab(69.37, -15.51, 61.29)
CIE-LCHlch(69.37, 63.22, 104.20°)
OKLaboklab(73.07% -0.049 0.1352)
OKLCHoklch(73.07% 0.144 109.9)
XYZxyz(33.2998, 39.8648, 8.6293)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF2F #302FAF
analogous
#AF702F #AEAF2F #6EAF2F
triadic
#AEAF2F #2FAEAF #AF2FAE
tetradic
#AEAF2F #2FAF70 #302FAF #AF2F6E
square
#AEAF2F #2FAF70 #302FAF #AF2F6E
split-complementary
#AEAF2F #2F6EAF #702FAF
monochromatic
#4E4F15 #7E7F22 #AEAF2F #CECF4C #DBDC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEAF2F#FFFFFF#000000##000000
##AEAF2F1.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)
#BDA715
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#BAA496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aeaf2f;
/* rgb */ color: rgb(174, 175, 47);
/* oklch */ color: oklch(73.1% 0.144 109.9);
Tailwind
colors: {
  custom: {
    50: '#cac671',
    500: '#aeaf2f',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf2f;
$custom-light: #cac671;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf2f",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 60.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73065,
    "c": 0.14379,
    "h": 109.9
  },
  "luminance": 0.39864
}

Semantic roles & 50–950 ramp

primary
#AEAF2F
secondary
#7675C4
accent
#47E148
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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