#AFA447#AFA447

#AFA447 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.115 H 102.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AFA447
RGBrgb(175, 164, 71)
HSLhsl(54, 42%, 48%)
HSVhsv(54, 59%, 69%)
CMYKcmyk(0%, 6.3%, 59.4%, 31.4%)
CIE-LABlab(66.61, -7.91, 48.61)
CIE-LCHlch(66.61, 49.25, 99.25°)
OKLaboklab(70.95% -0.0251 0.1122)
OKLCHoklch(70.95% 0.115 102.6)
XYZxyz(32.0931, 36.1210, 11.2415)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA447 #4752AF
analogous
#AF7047 #AFA447 #86AF47
triadic
#AFA447 #47AFA4 #A447AF
tetradic
#AFA447 #47AF70 #4752AF #AF4786
square
#AFA447 #47AF70 #4752AF #AF4786
split-complementary
#AFA447 #4786AF #7047AF
monochromatic
#585224 #837B35 #AFA447 #C4BB6F #D6D09A

Accessibility & contrast

On white

2.55
#AFA447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#AFA447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA447
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA447#FFFFFF#000000##000000
##AFA4471.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3D
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa447;
/* rgb */ color: rgb(175, 164, 71);
/* oklch */ color: oklch(70.9% 0.115 102.6);
Tailwind
colors: {
  custom: {
    50: '#c9be7e',
    500: '#afa447',
    950: '#000000',
  },
}
SCSS
$custom: #afa447;
$custom-light: #c9be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa447",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 71
  },
  "hsl": {
    "h": 53.654,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70945,
    "c": 0.11493,
    "h": 102.6
  },
  "luminance": 0.3612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA447

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

Preview Lab → · Contrast checker → · Palette generator →

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