#AEC271#AEC271

#AEC271 is a light, moderate yellow-green. Relative luminance 0.488; OKLCH L 78.0% C 0.108 H 120.3°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#AEC271
RGBrgb(174, 194, 113)
HSLhsl(75, 40%, 60%)
HSVhsv(75, 42%, 76%)
CMYKcmyk(10.3%, 0%, 41.8%, 23.9%)
CIE-LABlab(75.31, -19.74, 38.42)
CIE-LCHlch(75.31, 43.20, 117.19°)
OKLaboklab(78.03% -0.0546 0.0934)
OKLCHoklch(78.03% 0.108 120.3)
XYZxyz(39.7280, 48.7746, 22.9411)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC271 #8571C2
analogous
#C2AD71 #AEC271 #85C271
triadic
#AEC271 #71AEC2 #C271AE
tetradic
#AEC271 #71C2AD #8571C2 #C27185
square
#AEC271 #71C2AD #8571C2 #C27185
split-complementary
#AEC271 #7185C2 #AD71C2
monochromatic
#6F8137 #94AC4A #AEC271 #C6D49C #DFE7C7

Accessibility & contrast

On white

1.95
#AEC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#AEC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC271
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC271#FFFFFF#000000##000000
##AEC2711.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBA6B
Deuteranopia (green-blind)
#C9BA75
Tritanopia (blue-blind)
#B5BAAE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #aec271;
/* rgb */ color: rgb(174, 194, 113);
/* oklch */ color: oklch(78.0% 0.108 120.3);
Tailwind
colors: {
  custom: {
    50: '#c7d49b',
    500: '#aec271',
    950: '#000000',
  },
}
SCSS
$custom: #aec271;
$custom-light: #c7d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#aec271",
  "rgb": {
    "r": 174,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 74.815,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.78025,
    "c": 0.10822,
    "h": 120.3
  },
  "luminance": 0.48774
}

Semantic roles & 50–950 ramp

primary
#AEC271
secondary
#C0B8D7
accent
#33B352
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AEC271

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

Preview Lab → · Contrast checker → · Palette generator →

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