#AFA574#AFA574

#AFA574 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.067 H 98.0°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AFA574
RGBrgb(175, 165, 116)
HSLhsl(50, 27%, 57%)
HSVhsv(50, 34%, 69%)
CMYKcmyk(0%, 5.7%, 33.7%, 31.4%)
CIE-LABlab(67.49, -3.94, 26.75)
CIE-LCHlch(67.49, 27.04, 98.39°)
OKLaboklab(71.84% -0.0094 0.0666)
OKLCHoklch(71.84% 0.067 98)
XYZxyz(34.2871, 37.2861, 21.9104)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA574 #747EAF
analogous
#AF8874 #AFA574 #9CAF74
triadic
#AFA574 #74AFA5 #A574AF
tetradic
#AFA574 #74AF88 #747EAF #AF749C
square
#AFA574 #74AF88 #747EAF #AF749C
split-complementary
#AFA574 #749CAF #8874AF
monochromatic
#6B633E #928754 #AFA574 #C5BE9B #DCD7C2

Accessibility & contrast

On white

2.48
#AFA574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#AFA574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA574
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA574#FFFFFF#000000##000000
##AFA5741.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA271
Deuteranopia (green-blind)
#B1A676
Tritanopia (blue-blind)
#B89E98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa574;
/* rgb */ color: rgb(175, 165, 116);
/* oklch */ color: oklch(71.8% 0.067 98.0);
Tailwind
colors: {
  custom: {
    50: '#c7bf9c',
    500: '#afa574',
    950: '#000000',
  },
}
SCSS
$custom: #afa574;
$custom-light: #c7bf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa574",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 116
  },
  "hsl": {
    "h": 49.831,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71839,
    "c": 0.06727,
    "h": 98
  },
  "luminance": 0.37285
}

Semantic roles & 50–950 ramp

primary
#AFA574
secondary
#B3B7CB
accent
#75C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA574

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

Preview Lab → · Contrast checker → · Palette generator →

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