#AEB940#AEB940

#AEB940 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.4% C 0.143 H 114.3°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#AEB940
RGBrgb(174, 185, 64)
HSLhsl(65, 49%, 49%)
HSVhsv(65, 65%, 73%)
CMYKcmyk(5.9%, 0%, 65.4%, 27.5%)
CIE-LABlab(72.27, -19.63, 57.73)
CIE-LCHlch(72.27, 60.98, 108.78°)
OKLaboklab(75.42% -0.0589 0.1305)
OKLCHoklch(75.42% 0.143 114.3)
XYZxyz(35.7308, 44.0674, 11.4731)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB940 #4B40B9
analogous
#B98840 #AEB940 #72B940
triadic
#AEB940 #40AEB9 #B940AE
tetradic
#AEB940 #40B988 #4B40B9 #B94072
square
#AEB940 #40B988 #4B40B9 #B94072
split-complementary
#AEB940 #4072B9 #8840B9
monochromatic
#585E21 #838C30 #AEB940 #C3CC6B #D5DB98

Accessibility & contrast

On white

2.14
#AEB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#AEB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB940
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB940#FFFFFF#000000##000000
##AEB9401.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02F
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#B9AEA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aeb940;
/* rgb */ color: rgb(174, 185, 64);
/* oklch */ color: oklch(75.4% 0.143 114.3);
Tailwind
colors: {
  custom: {
    50: '#c9cd7b',
    500: '#aeb940',
    950: '#000000',
  },
}
SCSS
$custom: #aeb940;
$custom-light: #c9cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb940",
  "rgb": {
    "r": 174,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 65.455,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.1432,
    "h": 114.3
  },
  "luminance": 0.44067
}

Semantic roles & 50–950 ramp

primary
#AEB940
secondary
#938EC7
accent
#50D85C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEB940

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

Preview Lab → · Contrast checker → · Palette generator →

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