#AEA42F#AEA42F

#AEA42F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.133 H 104.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AEA42F
RGBrgb(174, 164, 47)
HSLhsl(55, 57%, 43%)
HSVhsv(55, 73%, 68%)
CMYKcmyk(0%, 5.7%, 73%, 31.8%)
CIE-LABlab(66.33, -9.80, 58.38)
CIE-LCHlch(66.33, 59.20, 99.53°)
OKLaboklab(70.64% -0.0331 0.129)
OKLCHoklch(70.64% 0.133 104.4)
XYZxyz(31.2454, 35.7561, 7.9445)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA42F #2F39AE
analogous
#AE652F #AEA42F #78AE2F
triadic
#AEA42F #2FAEA4 #A42FAE
tetradic
#AEA42F #2FAE65 #2F39AE #AE2F78
square
#AEA42F #2FAE65 #2F39AE #AE2F78
split-complementary
#AEA42F #2F78AE #652FAE
monochromatic
#4E4915 #7E7722 #AEA42F #CFC44C #DCD47C

Accessibility & contrast

On white

2.58
#AEA42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AEA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA42F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA42F#FFFFFF#000000##000000
##AEA42F1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#BB998D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aea42f;
/* rgb */ color: rgb(174, 164, 47);
/* oklch */ color: oklch(70.6% 0.133 104.4);
Tailwind
colors: {
  custom: {
    50: '#cabe70',
    500: '#aea42f',
    950: '#000000',
  },
}
SCSS
$custom: #aea42f;
$custom-light: #cabe70;
$custom-dark: #000000;
JSON
{
  "hex": "#aea42f",
  "rgb": {
    "r": 174,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 55.276,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70641,
    "c": 0.13319,
    "h": 104.4
  },
  "luminance": 0.35755
}

Semantic roles & 50–950 ramp

primary
#AEA42F
secondary
#757BC4
accent
#53E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AEA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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