#AFAE39#AFAE39

#AFAE39 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.136 H 108.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#AFAE39
RGBrgb(175, 174, 57)
HSLhsl(59, 51%, 45%)
HSVhsv(59, 67%, 69%)
CMYKcmyk(0%, 0.6%, 67.4%, 31.4%)
CIE-LABlab(69.24, -14.05, 57.46)
CIE-LCHlch(69.24, 59.15, 103.74°)
OKLaboklab(73% -0.044 0.1288)
OKLCHoklch(73% 0.136 108.9)
XYZxyz(33.5549, 39.6825, 9.7620)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE39 #393AAF
analogous
#AF7339 #AFAE39 #75AF39
triadic
#AFAE39 #39AFAE #AE39AF
tetradic
#AFAE39 #39AF73 #393AAF #AF3975
square
#AFAE39 #39AF73 #393AAF #AF3975
split-complementary
#AFAE39 #3975AF #7339AF
monochromatic
#53521B #81802A #AFAE39 #CAC95B #D9D88A

Accessibility & contrast

On white

2.35
#AFAE39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#AFAE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE39
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE39#FFFFFF#000000##000000
##AFAE391.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#BBA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae39;
/* rgb */ color: rgb(175, 174, 57);
/* oklch */ color: oklch(73.0% 0.136 108.9);
Tailwind
colors: {
  custom: {
    50: '#cac576',
    500: '#afae39',
    950: '#000000',
  },
}
SCSS
$custom: #afae39;
$custom-light: #cac576;
$custom-dark: #000000;
JSON
{
  "hex": "#afae39",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 59.492,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73002,
    "c": 0.13611,
    "h": 108.9
  },
  "luminance": 0.39681
}

Semantic roles & 50–950 ramp

primary
#AFAE39
secondary
#8181C3
accent
#4FDA4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE39

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

Preview Lab → · Contrast checker → · Palette generator →

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