#AFAE3C#AFAE3C

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

Color values

HEX#AFAE3C
RGBrgb(175, 174, 60)
HSLhsl(59, 49%, 46%)
HSVhsv(59, 66%, 69%)
CMYKcmyk(0%, 0.6%, 65.7%, 31.4%)
CIE-LABlab(69.26, -13.87, 56.27)
CIE-LCHlch(69.26, 57.95, 103.85°)
OKLaboklab(73.03% -0.0432 0.1268)
OKLCHoklch(73.03% 0.134 108.8)
XYZxyz(33.6320, 39.7133, 10.1679)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE3C #3C3DAF
analogous
#AF743C #AFAE3C #76AF3C
triadic
#AFAE3C #3CAFAE #AE3CAF
tetradic
#AFAE3C #3CAF74 #3C3DAF #AF3C76
square
#AFAE3C #3CAF74 #3C3DAF #AF3C76
split-complementary
#AFAE3C #3C76AF #743CAF
monochromatic
#54531D #81812C #AFAE3C #C8C860 #D8D78D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE3C#FFFFFF#000000##000000
##AFAE3C1.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)
#BCA72C
Deuteranopia (green-blind)
#BDAB43
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae3c;
/* rgb */ color: rgb(175, 174, 60);
/* oklch */ color: oklch(73.0% 0.134 108.8);
Tailwind
colors: {
  custom: {
    50: '#cac578',
    500: '#afae3c',
    950: '#000000',
  },
}
SCSS
$custom: #afae3c;
$custom-light: #cac578;
$custom-dark: #000000;
JSON
{
  "hex": "#afae3c",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 59.478,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.13395,
    "h": 108.8
  },
  "luminance": 0.39712
}

Semantic roles & 50–950 ramp

primary
#AFAE3C
secondary
#8485C3
accent
#51D84F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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