#AEB840#AEB840

#AEB840 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.142 H 113.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AEB840
RGBrgb(174, 184, 64)
HSLhsl(65, 48%, 49%)
HSVhsv(65, 65%, 72%)
CMYKcmyk(5.4%, 0%, 65.2%, 27.8%)
CIE-LABlab(71.99, -19.13, 57.44)
CIE-LCHlch(71.99, 60.54, 108.42°)
OKLaboklab(75.2% -0.0575 0.1299)
OKLCHoklch(75.2% 0.142 113.9)
XYZxyz(35.5224, 43.6505, 11.4036)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB840 #4A40B8
analogous
#B88640 #AEB840 #72B840
triadic
#AEB840 #40AEB8 #B840AE
tetradic
#AEB840 #40B886 #4A40B8 #B84072
square
#AEB840 #40B886 #4A40B8 #B84072
split-complementary
#AEB840 #4072B8 #8640B8
monochromatic
#585D20 #838B30 #AEB840 #C3CB6A #D5DB97

Accessibility & contrast

On white

2.16
#AEB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#AEB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB840
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB840#FFFFFF#000000##000000
##AEB8401.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#B9AD9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aeb840;
/* rgb */ color: rgb(174, 184, 64);
/* oklch */ color: oklch(75.2% 0.142 113.9);
Tailwind
colors: {
  custom: {
    50: '#c9cd7b',
    500: '#aeb840',
    950: '#000000',
  },
}
SCSS
$custom: #aeb840;
$custom-light: #c9cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb840",
  "rgb": {
    "r": 174,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 65,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75199,
    "c": 0.14207,
    "h": 113.9
  },
  "luminance": 0.4365
}

Semantic roles & 50–950 ramp

primary
#AEB840
secondary
#928DC7
accent
#50D85B
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEB840

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

Preview Lab → · Contrast checker → · Palette generator →

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