#AFA365#AFA365

#AFA365 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.083 H 98.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AFA365
RGBrgb(175, 163, 101)
HSLhsl(50, 32%, 54%)
HSVhsv(50, 42%, 69%)
CMYKcmyk(0%, 6.9%, 42.3%, 31.4%)
CIE-LABlab(66.71, -4.64, 33.74)
CIE-LCHlch(66.71, 34.05, 97.83°)
OKLaboklab(71.14% -0.0124 0.0822)
OKLCHoklch(71.14% 0.083 98.6)
XYZxyz(33.1261, 36.2490, 17.5612)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA365 #6571AF
analogous
#AF7E65 #AFA365 #96AF65
triadic
#AFA365 #65AFA3 #A365AF
tetradic
#AFA365 #65AF7E #6571AF #AF6596
square
#AFA365 #65AF7E #6571AF #AF6596
split-complementary
#AFA365 #6596AF #7E65AF
monochromatic
#655D35 #8D8249 #AFA365 #C4BB8D #D9D3B6

Accessibility & contrast

On white

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

On black

8.25
#AFA365 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA365
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA365#FFFFFF#000000##000000
##AFA3651.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA060
Deuteranopia (green-blind)
#B2A467
Tritanopia (blue-blind)
#B99B94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa365;
/* rgb */ color: rgb(175, 163, 101);
/* oklch */ color: oklch(71.1% 0.083 98.6);
Tailwind
colors: {
  custom: {
    50: '#c8be92',
    500: '#afa365',
    950: '#000000',
  },
}
SCSS
$custom: #afa365;
$custom-light: #c8be92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa365",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 101
  },
  "hsl": {
    "h": 50.27,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71142,
    "c": 0.0831,
    "h": 98.6
  },
  "luminance": 0.36248
}

Semantic roles & 50–950 ramp

primary
#AFA365
secondary
#A8ADC8
accent
#71C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA365

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

Preview Lab → · Contrast checker → · Palette generator →

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