#AEC938#AEC938

#AEC938 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.0% C 0.167 H 119.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#AEC938
RGBrgb(174, 201, 56)
HSLhsl(71, 57%, 50%)
HSVhsv(71, 72%, 79%)
CMYKcmyk(13.4%, 0%, 72.1%, 21.2%)
CIE-LABlab(76.71, -27.90, 65.21)
CIE-LCHlch(76.71, 70.93, 113.17°)
OKLaboklab(78.97% -0.0826 0.145)
OKLCHoklch(78.97% 0.167 119.7)
XYZxyz(39.0568, 51.0577, 11.5382)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC938 #5338C9
analogous
#C99B38 #AEC938 #66C938
triadic
#AEC938 #38AEC9 #C938AE
tetradic
#AEC938 #38C99B #5338C9 #C93866
square
#AEC938 #38C99B #5338C9 #C93866
split-complementary
#AEC938 #3866C9 #9B38C9
monochromatic
#5C6A1D #859A2A #AEC938 #C2D668 #D5E398

Accessibility & contrast

On white

1.87
#AEC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#AEC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC938
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC938#FFFFFF#000000##000000
##AEC9381.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1C
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#B8BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aec938;
/* rgb */ color: rgb(174, 201, 56);
/* oklch */ color: oklch(79.0% 0.167 119.7);
Tailwind
colors: {
  custom: {
    50: '#cad978',
    500: '#aec938',
    950: '#000000',
  },
}
SCSS
$custom: #aec938;
$custom-light: #cad978;
$custom-dark: #000000;
JSON
{
  "hex": "#aec938",
  "rgb": {
    "r": 174,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 71.172,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78972,
    "c": 0.16689,
    "h": 119.7
  },
  "luminance": 0.51057
}

Semantic roles & 50–950 ramp

primary
#AEC938
secondary
#3E3174
accent
#47E164
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #AEC938

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

Preview Lab → · Contrast checker → · Palette generator →

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