#AFA53D#AFA53D

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

Color values

HEX#AFA53D
RGBrgb(175, 165, 61)
HSLhsl(55, 48%, 46%)
HSVhsv(55, 65%, 69%)
CMYKcmyk(0%, 5.7%, 65.1%, 31.4%)
CIE-LABlab(66.80, -9.12, 53.28)
CIE-LCHlch(66.80, 54.06, 99.72°)
OKLaboklab(71.06% -0.0297 0.1206)
OKLCHoklch(71.06% 0.124 103.8)
XYZxyz(31.9779, 36.3624, 9.7482)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA53D #3D47AF
analogous
#AF6C3D #AFA53D #80AF3D
triadic
#AFA53D #3DAFA5 #A53DAF
tetradic
#AFA53D #3DAF6C #3D47AF #AF3D80
square
#AFA53D #3DAF6C #3D47AF #AF3D80
split-complementary
#AFA53D #3D80AF #6C3DAF
monochromatic
#544F1D #827A2D #AFA53D #C8BF61 #D8D18F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA53D#FFFFFF#000000##000000
##AFA53D1.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)
#B3A030
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#BC9A8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa53d;
/* rgb */ color: rgb(175, 165, 61);
/* oklch */ color: oklch(71.1% 0.124 103.8);
Tailwind
colors: {
  custom: {
    50: '#cabf78',
    500: '#afa53d',
    950: '#000000',
  },
}
SCSS
$custom: #afa53d;
$custom-light: #cabf78;
$custom-dark: #000000;
JSON
{
  "hex": "#afa53d",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 61
  },
  "hsl": {
    "h": 54.737,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71062,
    "c": 0.12423,
    "h": 103.8
  },
  "luminance": 0.36361
}

Semantic roles & 50–950 ramp

primary
#AFA53D
secondary
#858BC3
accent
#5CD850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA53D

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

Preview Lab → · Contrast checker → · Palette generator →

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