#AEAF38#AEAF38

#AEAF38 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.138 H 109.8°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AEAF38
RGBrgb(174, 175, 56)
HSLhsl(61, 52%, 45%)
HSVhsv(61, 68%, 69%)
CMYKcmyk(0.6%, 0%, 68%, 31.4%)
CIE-LABlab(69.43, -15.05, 58.01)
CIE-LCHlch(69.43, 59.93, 104.54°)
OKLaboklab(73.13% -0.0469 0.1298)
OKLCHoklch(73.13% 0.138 109.8)
XYZxyz(33.5005, 39.9451, 9.6861)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAF38 #3938AF
analogous
#AF7438 #AEAF38 #73AF38
triadic
#AEAF38 #38AEAF #AF38AE
tetradic
#AEAF38 #38AF74 #3938AF #AF3873
square
#AEAF38 #38AF74 #3938AF #AF3873
split-complementary
#AEAF38 #3873AF #7438AF
monochromatic
#52521A #808129 #AEAF38 #C9CA5A #D8D988

Accessibility & contrast

On white

2.34
#AEAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AEAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAF38
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAF38#FFFFFF#000000##000000
##AEAF381.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#BAA497
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aeaf38;
/* rgb */ color: rgb(174, 175, 56);
/* oklch */ color: oklch(73.1% 0.138 109.8);
Tailwind
colors: {
  custom: {
    50: '#c9c676',
    500: '#aeaf38',
    950: '#000000',
  },
}
SCSS
$custom: #aeaf38;
$custom-light: #c9c676;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaf38",
  "rgb": {
    "r": 174,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 60.504,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73129,
    "c": 0.13804,
    "h": 109.8
  },
  "luminance": 0.39944
}

Semantic roles & 50–950 ramp

primary
#AEAF38
secondary
#8080C3
accent
#4DDB4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AEAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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