#AEB31B#AEB31B

#AEB31B 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#AEB31B
RGBrgb(174, 179, 27)
HSLhsl(62, 74%, 40%)
HSVhsv(62, 85%, 70%)
CMYKcmyk(2.8%, 0%, 84.9%, 29.8%)
CIE-LABlab(70.40, -18.26, 67.96)
CIE-LCHlch(70.40, 70.37, 105.04°)
OKLaboklab(73.86% -0.0582 0.1459)
OKLCHoklch(73.86% 0.157 111.7)
XYZxyz(33.7747, 41.3189, 7.2329)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB31B #201BB3
analogous
#B36C1B #AEB31B #62B31B
triadic
#AEB31B #1BAEB3 #B31BAE
tetradic
#AEB31B #1BB36C #201BB3 #B31B62
square
#AEB31B #1BB36C #201BB3 #B31B62
split-complementary
#AEB31B #1B62B3 #6C1BB3
monochromatic
#47490B #7A7E13 #AEB31B #D9DF2C #E3E761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEB31B#FFFFFF#000000##000000
##AEB31B1.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: #aeb31b;
/* rgb */ color: rgb(174, 179, 27);
/* oklch */ color: oklch(73.9% 0.157 111.7);
Tailwind
colors: {
  custom: {
    50: '#cac969',
    500: '#aeb31b',
    950: '#000000',
  },
}
SCSS
$custom: #aeb31b;
$custom-light: #cac969;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb31b",
  "rgb": {
    "r": 174,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 61.974,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73857,
    "c": 0.15709,
    "h": 111.7
  },
  "luminance": 0.41318
}

Semantic roles & 50–950 ramp

primary
#AEB31B
secondary
#625ECC
accent
#37F03D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #AEB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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