#AFA366#AFA366

#AFA366 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.082 H 98.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AFA366
RGBrgb(175, 163, 102)
HSLhsl(50, 31%, 54%)
HSVhsv(50, 42%, 69%)
CMYKcmyk(0%, 6.9%, 41.7%, 31.4%)
CIE-LABlab(66.72, -4.53, 33.23)
CIE-LCHlch(66.72, 33.54, 97.76°)
OKLaboklab(71.16% -0.012 0.0811)
OKLCHoklch(71.16% 0.082 98.4)
XYZxyz(33.1754, 36.2687, 17.8208)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA366 #6672AF
analogous
#AF7F66 #AFA366 #97AF66
triadic
#AFA366 #66AFA3 #A366AF
tetradic
#AFA366 #66AF7F #6672AF #AF6697
square
#AFA366 #66AF7F #6672AF #AF6697
split-complementary
#AFA366 #6697AF #7F66AF
monochromatic
#665E35 #8E834A #AFA366 #C4BB8E #D9D3B6

Accessibility & contrast

On white

2.54
#AFA366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA366#FFFFFF#000000##000000
##AFA3661.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa366;
/* rgb */ color: rgb(175, 163, 102);
/* oklch */ color: oklch(71.2% 0.082 98.4);
Tailwind
colors: {
  custom: {
    50: '#c8be92',
    500: '#afa366',
    950: '#000000',
  },
}
SCSS
$custom: #afa366;
$custom-light: #c8be92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa366",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 50.137,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.71159,
    "c": 0.08194,
    "h": 98.4
  },
  "luminance": 0.36268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA366

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

Preview Lab → · Contrast checker → · Palette generator →

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