#AEC126#AEC126

#AEC126 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.167 H 116.9°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#AEC126
RGBrgb(174, 193, 38)
HSLhsl(67, 67%, 45%)
HSVhsv(67, 80%, 76%)
CMYKcmyk(9.8%, 0%, 80.3%, 24.3%)
CIE-LABlab(74.37, -24.84, 68.63)
CIE-LCHlch(74.37, 72.99, 109.90°)
OKLaboklab(77.05% -0.0756 0.1492)
OKLCHoklch(77.05% 0.167 116.9)
XYZxyz(36.8764, 47.2790, 9.0165)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC126 #3926C1
analogous
#C18726 #AEC126 #60C126
triadic
#AEC126 #26AEC1 #C126AE
tetradic
#AEC126 #26C187 #3926C1 #C12660
square
#AEC126 #26C187 #3926C1 #C12660
split-complementary
#AEC126 #2660C1 #8726C1
monochromatic
#525B12 #808E1C #AEC126 #C9DB49 #D8E57C

Accessibility & contrast

On white

2.01
#AEC126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#AEC126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC126
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC126#FFFFFF#000000##000000
##AEC1261.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CDB836
Tritanopia (blue-blind)
#B9B6A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #aec126;
/* rgb */ color: rgb(174, 193, 38);
/* oklch */ color: oklch(77.1% 0.167 116.9);
Tailwind
colors: {
  custom: {
    50: '#cad36f',
    500: '#aec126',
    950: '#000000',
  },
}
SCSS
$custom: #aec126;
$custom-light: #cad36f;
$custom-dark: #000000;
JSON
{
  "hex": "#aec126",
  "rgb": {
    "r": 174,
    "g": 193,
    "b": 38
  },
  "hsl": {
    "h": 67.355,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.77055,
    "c": 0.16727,
    "h": 116.9
  },
  "luminance": 0.47279
}

Semantic roles & 50–950 ramp

primary
#AEC126
secondary
#8075CD
accent
#3EEA53
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AEC126

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

Preview Lab → · Contrast checker → · Palette generator →

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