#AFAE45#AFAE45

#AFAE45 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.127 H 108.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#AFAE45
RGBrgb(175, 174, 69)
HSLhsl(59, 43%, 48%)
HSVhsv(59, 61%, 69%)
CMYKcmyk(0%, 0.6%, 60.6%, 31.4%)
CIE-LABlab(69.34, -13.28, 52.52)
CIE-LCHlch(69.34, 54.17, 104.20°)
OKLaboklab(73.11% -0.0406 0.1202)
OKLCHoklch(73.11% 0.127 108.7)
XYZxyz(33.8905, 39.8167, 11.5292)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE45 #4546AF
analogous
#AF7945 #AFAE45 #7BAF45
triadic
#AFAE45 #45AFAE #AE45AF
tetradic
#AFAE45 #45AF79 #4546AF #AF457B
square
#AFAE45 #45AF79 #4546AF #AF457B
split-complementary
#AFAE45 #457BAF #7945AF
monochromatic
#575722 #838234 #AFAE45 #C5C46C #D6D698

Accessibility & contrast

On white

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

On black

8.96
#AFAE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE45
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE45#FFFFFF#000000##000000
##AFAE451.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae45;
/* rgb */ color: rgb(175, 174, 69);
/* oklch */ color: oklch(73.1% 0.127 108.7);
Tailwind
colors: {
  custom: {
    50: '#c9c67d',
    500: '#afae45',
    950: '#000000',
  },
}
SCSS
$custom: #afae45;
$custom-light: #c9c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#afae45",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 59.434,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73109,
    "c": 0.12686,
    "h": 108.7
  },
  "luminance": 0.39816
}

Semantic roles & 50–950 ramp

primary
#AFAE45
secondary
#8D8EC2
accent
#56D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAE45

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

Preview Lab → · Contrast checker → · Palette generator →

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