#AEB31F#AEB31F

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

Color values

HEX#AEB31F
RGBrgb(174, 179, 31)
HSLhsl(62, 70%, 41%)
HSVhsv(62, 83%, 70%)
CMYKcmyk(2.8%, 0%, 82.7%, 29.8%)
CIE-LABlab(70.41, -18.14, 67.03)
CIE-LCHlch(70.41, 69.44, 105.15°)
OKLaboklab(73.87% -0.0576 0.1446)
OKLCHoklch(73.87% 0.156 111.7)
XYZxyz(33.8242, 41.3387, 7.4935)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB31F #241FB3
analogous
#B36E1F #AEB31F #64B31F
triadic
#AEB31F #1FAEB3 #B31FAE
tetradic
#AEB31F #1FB36E #241FB3 #B31F64
square
#AEB31F #1FB36E #241FB3 #B31F64
split-complementary
#AEB31F #1F64B3 #6E1FB3
monochromatic
#494B0D #7B7F16 #AEB31F #D6DC33 #E1E568

Accessibility & contrast

On white

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

On black

9.27
#AEB31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB31F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB31F#FFFFFF#000000##000000
##AEB31F1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aeb31f;
/* rgb */ color: rgb(174, 179, 31);
/* oklch */ color: oklch(73.9% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#cac96b',
    500: '#aeb31f',
    950: '#000000',
  },
}
SCSS
$custom: #aeb31f;
$custom-light: #cac96b;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb31f",
  "rgb": {
    "r": 174,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 62.027,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.73873,
    "c": 0.15562,
    "h": 111.7
  },
  "luminance": 0.41338
}

Semantic roles & 50–950 ramp

primary
#AEB31F
secondary
#6764CA
accent
#3BED41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #AEB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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