#AEB31C#AEB31C

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

Color values

HEX#AEB31C
RGBrgb(174, 179, 28)
HSLhsl(62, 73%, 41%)
HSVhsv(62, 84%, 70%)
CMYKcmyk(2.8%, 0%, 84.4%, 29.8%)
CIE-LABlab(70.40, -18.23, 67.74)
CIE-LCHlch(70.40, 70.15, 105.06°)
OKLaboklab(73.86% -0.0581 0.1456)
OKLCHoklch(73.86% 0.157 111.7)
XYZxyz(33.7865, 41.3236, 7.2949)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB31C #211CB3
analogous
#B36C1C #AEB31C #62B31C
triadic
#AEB31C #1CAEB3 #B31CAE
tetradic
#AEB31C #1CB36C #211CB3 #B31C62
square
#AEB31C #1CB36C #211CB3 #B31C62
split-complementary
#AEB31C #1C62B3 #6C1CB3
monochromatic
#47490B #7B7E14 #AEB31C #D8DE2E #E2E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEB31C#FFFFFF#000000##000000
##AEB31C1.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)
#C2AE2C
Tritanopia (blue-blind)
#BBA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aeb31c;
/* rgb */ color: rgb(174, 179, 28);
/* oklch */ color: oklch(73.9% 0.157 111.7);
Tailwind
colors: {
  custom: {
    50: '#cac96a',
    500: '#aeb31c',
    950: '#000000',
  },
}
SCSS
$custom: #aeb31c;
$custom-light: #cac96a;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb31c",
  "rgb": {
    "r": 174,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 61.987,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.15674,
    "h": 111.7
  },
  "luminance": 0.41323
}

Semantic roles & 50–950 ramp

primary
#AEB31C
secondary
#635FCB
accent
#38F03E
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AEB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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