#AFA347#AFA347

#AFA347 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.114 H 101.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AFA347
RGBrgb(175, 163, 71)
HSLhsl(53, 42%, 48%)
HSVhsv(53, 59%, 69%)
CMYKcmyk(0%, 6.9%, 59.4%, 31.4%)
CIE-LABlab(66.34, -7.39, 48.31)
CIE-LCHlch(66.34, 48.87, 98.69°)
OKLaboklab(70.73% -0.0236 0.1115)
OKLCHoklch(70.73% 0.114 101.9)
XYZxyz(31.9149, 35.7645, 11.1821)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA347 #4753AF
analogous
#AF6F47 #AFA347 #87AF47
triadic
#AFA347 #47AFA3 #A347AF
tetradic
#AFA347 #47AF6F #4753AF #AF4787
square
#AFA347 #47AF6F #4753AF #AF4787
split-complementary
#AFA347 #4787AF #6F47AF
monochromatic
#585224 #837A35 #AFA347 #C4BB6F #D6CF9A

Accessibility & contrast

On white

2.58
#AFA347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AFA347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA347
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA347#FFFFFF#000000##000000
##AFA3471.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3D
Deuteranopia (green-blind)
#B4A44C
Tritanopia (blue-blind)
#BB998F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa347;
/* rgb */ color: rgb(175, 163, 71);
/* oklch */ color: oklch(70.7% 0.114 101.9);
Tailwind
colors: {
  custom: {
    50: '#c9be7e',
    500: '#afa347',
    950: '#000000',
  },
}
SCSS
$custom: #afa347;
$custom-light: #c9be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa347",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 71
  },
  "hsl": {
    "h": 53.077,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70729,
    "c": 0.11397,
    "h": 101.9
  },
  "luminance": 0.35763
}

Semantic roles & 50–950 ramp

primary
#AFA347
secondary
#8F95C2
accent
#64D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA347

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

Preview Lab → · Contrast checker → · Palette generator →

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