#AEB240#AEB240

#AEB240 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.135 H 111.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#AEB240
RGBrgb(174, 178, 64)
HSLhsl(62, 47%, 47%)
HSVhsv(62, 64%, 70%)
CMYKcmyk(2.2%, 0%, 64%, 30.2%)
CIE-LABlab(70.32, -16.10, 55.69)
CIE-LCHlch(70.32, 57.97, 106.12°)
OKLaboklab(73.86% -0.049 0.1262)
OKLCHoklch(73.86% 0.135 111.2)
XYZxyz(34.3024, 41.2105, 10.9969)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB240 #4440B2
analogous
#B27D40 #AEB240 #75B240
triadic
#AEB240 #40AEB2 #B240AE
tetradic
#AEB240 #40B27D #4440B2 #B24075
square
#AEB240 #40B27D #4440B2 #B24075
split-complementary
#AEB240 #4075B2 #7D40B2
monochromatic
#565820 #828530 #AEB240 #C5C867 #D6D894

Accessibility & contrast

On white

2.27
#AEB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#AEB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB240
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB240#FFFFFF#000000##000000
##AEB2401.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#C0AD47
Tritanopia (blue-blind)
#BAA79A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aeb240;
/* rgb */ color: rgb(174, 178, 64);
/* oklch */ color: oklch(73.9% 0.135 111.2);
Tailwind
colors: {
  custom: {
    50: '#c9c87b',
    500: '#aeb240',
    950: '#000000',
  },
}
SCSS
$custom: #aeb240;
$custom-light: #c9c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb240",
  "rgb": {
    "r": 174,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 62.105,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73862,
    "c": 0.13539,
    "h": 111.2
  },
  "luminance": 0.4121
}

Semantic roles & 50–950 ramp

primary
#AEB240
secondary
#8C8AC4
accent
#51D756
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEB240

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

Preview Lab → · Contrast checker → · Palette generator →

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