#AEC340#AEC340

#AEC340 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.155 H 118.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#AEC340
RGBrgb(174, 195, 64)
HSLhsl(70, 52%, 51%)
HSVhsv(70, 67%, 76%)
CMYKcmyk(10.8%, 0%, 67.2%, 23.5%)
CIE-LABlab(75.08, -24.56, 60.62)
CIE-LCHlch(75.08, 65.41, 112.06°)
OKLaboklab(77.67% -0.0727 0.1366)
OKLCHoklch(77.67% 0.155 118)
XYZxyz(37.8968, 48.3994, 12.1951)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC340 #5540C3
analogous
#C39640 #AEC340 #6CC340
triadic
#AEC340 #40AEC3 #C340AE
tetradic
#AEC340 #40C396 #5540C3 #C3406C
square
#AEC340 #40C396 #5540C3 #C3406C
split-complementary
#AEC340 #406CC3 #9640C3
monochromatic
#5D6821 #86972F #AEC340 #C2D26F #D5E09D

Accessibility & contrast

On white

1.97
#AEC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#AEC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC340
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC340#FFFFFF#000000##000000
##AEC3401.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#B8B9A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #aec340;
/* rgb */ color: rgb(174, 195, 64);
/* oklch */ color: oklch(77.7% 0.155 118.0);
Tailwind
colors: {
  custom: {
    50: '#c9d57c',
    500: '#aec340',
    950: '#000000',
  },
}
SCSS
$custom: #aec340;
$custom-light: #c9d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#aec340",
  "rgb": {
    "r": 174,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 69.618,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77671,
    "c": 0.15473,
    "h": 118
  },
  "luminance": 0.48399
}

Semantic roles & 50–950 ramp

primary
#AEC340
secondary
#9C92CC
accent
#4CDC63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AEC340

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

Preview Lab → · Contrast checker → · Palette generator →

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