#AEB31A#AEB31A

#AEB31A is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.157 H 111.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#AEB31A
RGBrgb(174, 179, 26)
HSLhsl(62, 75%, 40%)
HSVhsv(62, 85%, 70%)
CMYKcmyk(2.8%, 0%, 85.5%, 29.8%)
CIE-LABlab(70.40, -18.28, 68.18)
CIE-LCHlch(70.40, 70.59, 105.01°)
OKLaboklab(73.85% -0.0583 0.1462)
OKLCHoklch(73.85% 0.157 111.8)
XYZxyz(33.7634, 41.3144, 7.1730)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB31A #1F1AB3
analogous
#B36C1A #AEB31A #61B31A
triadic
#AEB31A #1AAEB3 #B31AAE
tetradic
#AEB31A #1AB36C #1F1AB3 #B31A61
square
#AEB31A #1AB36C #1F1AB3 #B31A61
split-complementary
#AEB31A #1A61B3 #6C1AB3
monochromatic
#46480A #7A7E12 #AEB31A #DAE02A #E3E860

Accessibility & contrast

On white

2.27
#AEB31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#AEB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB31A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB31A#FFFFFF#000000##000000
##AEB31A1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C2AE2B
Tritanopia (blue-blind)
#BBA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aeb31a;
/* rgb */ color: rgb(174, 179, 26);
/* oklch */ color: oklch(73.9% 0.157 111.8);
Tailwind
colors: {
  custom: {
    50: '#cac969',
    500: '#aeb31a',
    950: '#000000',
  },
}
SCSS
$custom: #aeb31a;
$custom-light: #cac969;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb31a",
  "rgb": {
    "r": 174,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 61.961,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.15743,
    "h": 111.8
  },
  "luminance": 0.41313
}

Semantic roles & 50–950 ramp

primary
#AEB31A
secondary
#605DCC
accent
#37F13D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #AEB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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