#AFAE43#AFAE43

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

Color values

HEX#AFAE43
RGBrgb(175, 174, 67)
HSLhsl(59, 45%, 47%)
HSVhsv(59, 62%, 69%)
CMYKcmyk(0%, 0.6%, 61.7%, 31.4%)
CIE-LABlab(69.32, -13.42, 53.37)
CIE-LCHlch(69.32, 55.04, 104.12°)
OKLaboklab(73.09% -0.0412 0.1217)
OKLCHoklch(73.09% 0.129 108.7)
XYZxyz(33.8294, 39.7923, 11.2078)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE43 #4344AF
analogous
#AF7843 #AFAE43 #7AAF43
triadic
#AFAE43 #43AFAE #AE43AF
tetradic
#AFAE43 #43AF78 #4344AF #AF437A
square
#AFAE43 #43AF78 #4344AF #AF437A
split-complementary
#AFAE43 #437AAF #7843AF
monochromatic
#565621 #838232 #AFAE43 #C6C569 #D7D696

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE43#FFFFFF#000000##000000
##AFAE431.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)
#BBA736
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae43;
/* rgb */ color: rgb(175, 174, 67);
/* oklch */ color: oklch(73.1% 0.129 108.7);
Tailwind
colors: {
  custom: {
    50: '#cac57c',
    500: '#afae43',
    950: '#000000',
  },
}
SCSS
$custom: #afae43;
$custom-light: #cac57c;
$custom-dark: #000000;
JSON
{
  "hex": "#afae43",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 67
  },
  "hsl": {
    "h": 59.444,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7309,
    "c": 0.12852,
    "h": 108.7
  },
  "luminance": 0.39791
}

Semantic roles & 50–950 ramp

primary
#AFAE43
secondary
#8B8CC2
accent
#55D453
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAE43

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

Preview Lab → · Contrast checker → · Palette generator →

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