#AFA663#AFA663

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

Color values

HEX#AFA663
RGBrgb(175, 166, 99)
HSLhsl(53, 32%, 54%)
HSVhsv(53, 43%, 69%)
CMYKcmyk(0%, 5.1%, 43.4%, 31.4%)
CIE-LABlab(67.49, -6.45, 35.77)
CIE-LCHlch(67.49, 36.35, 100.23°)
OKLaboklab(71.75% -0.0179 0.0867)
OKLCHoklch(71.75% 0.088 101.7)
XYZxyz(33.5683, 37.2882, 17.2310)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA663 #636CAF
analogous
#AF8063 #AFA663 #92AF63
triadic
#AFA663 #63AFA6 #A663AF
tetradic
#AFA663 #63AF80 #636CAF #AF6392
square
#AFA663 #63AF80 #636CAF #AF6392
split-complementary
#AFA663 #6392AF #8063AF
monochromatic
#645E33 #8D8548 #AFA663 #C4BD8B #D8D4B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA663#FFFFFF#000000##000000
##AFA6631.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)
#B1A25E
Deuteranopia (green-blind)
#B4A666
Tritanopia (blue-blind)
#B99E96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa663;
/* rgb */ color: rgb(175, 166, 99);
/* oklch */ color: oklch(71.8% 0.088 101.7);
Tailwind
colors: {
  custom: {
    50: '#c8c090',
    500: '#afa663',
    950: '#000000',
  },
}
SCSS
$custom: #afa663;
$custom-light: #c8c090;
$custom-dark: #000000;
JSON
{
  "hex": "#afa663",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 99
  },
  "hsl": {
    "h": 52.895,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71753,
    "c": 0.08847,
    "h": 101.7
  },
  "luminance": 0.37287
}

Semantic roles & 50–950 ramp

primary
#AFA663
secondary
#A7AAC7
accent
#6CC85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA663

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

Preview Lab → · Contrast checker → · Palette generator →

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