#AEC238#AEC238

#AEC238 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.159 H 117.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#AEC238
RGBrgb(174, 194, 56)
HSLhsl(69, 55%, 49%)
HSVhsv(69, 71%, 76%)
CMYKcmyk(10.3%, 0%, 71.1%, 23.9%)
CIE-LABlab(74.74, -24.53, 63.28)
CIE-LCHlch(74.74, 67.87, 111.19°)
OKLaboklab(77.39% -0.0733 0.1409)
OKLCHoklch(77.39% 0.159 117.5)
XYZxyz(37.4620, 47.8682, 11.0066)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC238 #4C38C2
analogous
#C29138 #AEC238 #69C238
triadic
#AEC238 #38AEC2 #C238AE
tetradic
#AEC238 #38C291 #4C38C2 #C23869
square
#AEC238 #38C291 #4C38C2 #C23869
split-complementary
#AEC238 #3869C2 #9138C2
monochromatic
#59631D #83932A #AEC238 #C3D265 #D5E094

Accessibility & contrast

On white

1.99
#AEC238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#AEC238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC238
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC238#FFFFFF#000000##000000
##AEC2381.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB81F
Deuteranopia (green-blind)
#CDB943
Tritanopia (blue-blind)
#B9B7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aec238;
/* rgb */ color: rgb(174, 194, 56);
/* oklch */ color: oklch(77.4% 0.159 117.5);
Tailwind
colors: {
  custom: {
    50: '#c9d478',
    500: '#aec238',
    950: '#000000',
  },
}
SCSS
$custom: #aec238;
$custom-light: #c9d478;
$custom-dark: #000000;
JSON
{
  "hex": "#aec238",
  "rgb": {
    "r": 174,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 68.696,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77385,
    "c": 0.15888,
    "h": 117.5
  },
  "luminance": 0.47868
}

Semantic roles & 50–950 ramp

primary
#AEC238
secondary
#948ACB
accent
#49DF5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AEC238

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

Preview Lab → · Contrast checker → · Palette generator →

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