#AFA53C#AFA53C

#AFA53C is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.125 H 103.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AFA53C
RGBrgb(175, 165, 60)
HSLhsl(55, 49%, 46%)
HSVhsv(55, 66%, 69%)
CMYKcmyk(0%, 5.7%, 65.7%, 31.4%)
CIE-LABlab(66.79, -9.19, 53.70)
CIE-LCHlch(66.79, 54.48, 99.71°)
OKLaboklab(71.05% -0.03 0.1214)
OKLCHoklch(71.05% 0.125 103.9)
XYZxyz(31.9512, 36.3517, 9.6076)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA53C #3C46AF
analogous
#AF6B3C #AFA53C #7FAF3C
triadic
#AFA53C #3CAFA5 #A53CAF
tetradic
#AFA53C #3CAF6B #3C46AF #AF3C7F
square
#AFA53C #3CAF6B #3C46AF #AF3C7F
split-complementary
#AFA53C #3C7FAF #6B3CAF
monochromatic
#544F1D #817A2C #AFA53C #C8BF60 #D8D28D

Accessibility & contrast

On white

2.54
#AFA53C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AFA53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA53C
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA53C#FFFFFF#000000##000000
##AFA53C1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A02E
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#BC9A8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa53c;
/* rgb */ color: rgb(175, 165, 60);
/* oklch */ color: oklch(71.1% 0.125 103.9);
Tailwind
colors: {
  custom: {
    50: '#cabf77',
    500: '#afa53c',
    950: '#000000',
  },
}
SCSS
$custom: #afa53c;
$custom-light: #cabf77;
$custom-dark: #000000;
JSON
{
  "hex": "#afa53c",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 60
  },
  "hsl": {
    "h": 54.783,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71053,
    "c": 0.125,
    "h": 103.9
  },
  "luminance": 0.3635
}

Semantic roles & 50–950 ramp

primary
#AFA53C
secondary
#8489C3
accent
#5BD84F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA53C

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

Preview Lab → · Contrast checker → · Palette generator →

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