#AFA547#AFA547

#AFA547 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.116 H 103.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#AFA547
RGBrgb(175, 165, 71)
HSLhsl(54, 42%, 48%)
HSVhsv(54, 59%, 69%)
CMYKcmyk(0%, 5.7%, 59.4%, 31.4%)
CIE-LABlab(66.89, -8.44, 48.91)
CIE-LCHlch(66.89, 49.64, 99.79°)
OKLaboklab(71.16% -0.0266 0.1128)
OKLCHoklch(71.16% 0.116 103.3)
XYZxyz(32.2728, 36.4803, 11.3014)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA547 #4751AF
analogous
#AF7147 #AFA547 #85AF47
triadic
#AFA547 #47AFA5 #A547AF
tetradic
#AFA547 #47AF71 #4751AF #AF4785
square
#AFA547 #47AF71 #4751AF #AF4785
split-complementary
#AFA547 #4785AF #7147AF
monochromatic
#585324 #837C35 #AFA547 #C4BC6F #D6D09A

Accessibility & contrast

On white

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

On black

8.30
#AFA547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA547
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA547#FFFFFF#000000##000000
##AFA5471.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03D
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#BB9B91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa547;
/* rgb */ color: rgb(175, 165, 71);
/* oklch */ color: oklch(71.2% 0.116 103.3);
Tailwind
colors: {
  custom: {
    50: '#c9bf7e',
    500: '#afa547',
    950: '#000000',
  },
}
SCSS
$custom: #afa547;
$custom-light: #c9bf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa547",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 71
  },
  "hsl": {
    "h": 54.231,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71162,
    "c": 0.1159,
    "h": 103.3
  },
  "luminance": 0.36479
}

Semantic roles & 50–950 ramp

primary
#AFA547
secondary
#8F94C2
accent
#62D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA547

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

Preview Lab → · Contrast checker → · Palette generator →

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