#AEC838#AEC838

#AEC838 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.7% C 0.166 H 119.4°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#AEC838
RGBrgb(174, 200, 56)
HSLhsl(71, 57%, 50%)
HSVhsv(71, 72%, 78%)
CMYKcmyk(13%, 0%, 72%, 21.6%)
CIE-LABlab(76.43, -27.43, 64.93)
CIE-LCHlch(76.43, 70.49, 112.90°)
OKLaboklab(78.75% -0.0813 0.1444)
OKLCHoklch(78.75% 0.166 119.4)
XYZxyz(38.8244, 50.5930, 11.4607)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC838 #5238C8
analogous
#C89A38 #AEC838 #66C838
triadic
#AEC838 #38AEC8 #C838AE
tetradic
#AEC838 #38C89A #5238C8 #C83866
square
#AEC838 #38C89A #5238C8 #C83866
split-complementary
#AEC838 #3866C8 #9A38C8
monochromatic
#5B691D #85992A #AEC838 #C2D568 #D5E398

Accessibility & contrast

On white

1.89
#AEC838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#AEC838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC838
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC838#FFFFFF#000000##000000
##AEC8381.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#B8BDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aec838;
/* rgb */ color: rgb(174, 200, 56);
/* oklch */ color: oklch(78.7% 0.166 119.4);
Tailwind
colors: {
  custom: {
    50: '#cad878',
    500: '#aec838',
    950: '#000000',
  },
}
SCSS
$custom: #aec838;
$custom-light: #cad878;
$custom-dark: #000000;
JSON
{
  "hex": "#aec838",
  "rgb": {
    "r": 174,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 70.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78745,
    "c": 0.16574,
    "h": 119.4
  },
  "luminance": 0.50593
}

Semantic roles & 50–950 ramp

primary
#AEC838
secondary
#3D3273
accent
#48E063
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #AEC838

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

Preview Lab → · Contrast checker → · Palette generator →

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