#AFA543#AFA543

#AFA543 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.119 H 103.5°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AFA543
RGBrgb(175, 165, 67)
HSLhsl(54, 45%, 47%)
HSVhsv(54, 62%, 69%)
CMYKcmyk(0%, 5.7%, 61.7%, 31.4%)
CIE-LABlab(66.85, -8.73, 50.70)
CIE-LCHlch(66.85, 51.44, 99.77°)
OKLaboklab(71.12% -0.0279 0.1161)
OKLCHoklch(71.12% 0.119 103.5)
XYZxyz(32.1486, 36.4307, 10.6475)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA543 #434DAF
analogous
#AF6F43 #AFA543 #83AF43
triadic
#AFA543 #43AFA5 #A543AF
tetradic
#AFA543 #43AF6F #434DAF #AF4383
square
#AFA543 #43AF6F #434DAF #AF4383
split-complementary
#AFA543 #4383AF #6F43AF
monochromatic
#565221 #837B32 #AFA543 #C6BD69 #D7D196

Accessibility & contrast

On white

2.53
#AFA543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AFA543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA543
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA543#FFFFFF#000000##000000
##AFA5431.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A038
Deuteranopia (green-blind)
#B6A548
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa543;
/* rgb */ color: rgb(175, 165, 67);
/* oklch */ color: oklch(71.1% 0.119 103.5);
Tailwind
colors: {
  custom: {
    50: '#cabf7b',
    500: '#afa543',
    950: '#000000',
  },
}
SCSS
$custom: #afa543;
$custom-light: #cabf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa543",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 67
  },
  "hsl": {
    "h": 54.444,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7112,
    "c": 0.11936,
    "h": 103.5
  },
  "luminance": 0.36429
}

Semantic roles & 50–950 ramp

primary
#AFA543
secondary
#8B90C2
accent
#5FD453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA543

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

Preview Lab → · Contrast checker → · Palette generator →

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