#AFA653#AFA653

#AFA653 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.106 H 103.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AFA653
RGBrgb(175, 166, 83)
HSLhsl(54, 37%, 51%)
HSVhsv(54, 53%, 69%)
CMYKcmyk(0%, 5.1%, 52.6%, 31.4%)
CIE-LABlab(67.29, -8.00, 43.64)
CIE-LCHlch(67.29, 44.36, 100.39°)
OKLaboklab(71.52% -0.024 0.1028)
OKLCHoklch(71.52% 0.106 103.1)
XYZxyz(32.8777, 37.0120, 13.5941)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA653 #535CAF
analogous
#AF7853 #AFA653 #8AAF53
triadic
#AFA653 #53AFA6 #A653AF
tetradic
#AFA653 #53AF78 #535CAF #AF538A
square
#AFA653 #53AF78 #535CAF #AF538A
split-complementary
#AFA653 #538AAF #7853AF
monochromatic
#5D582B #867F3E #AFA653 #C2BC7D #D6D1A7

Accessibility & contrast

On white

2.50
#AFA653 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AFA653 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA653
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA653#FFFFFF#000000##000000
##AFA6531.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A14B
Deuteranopia (green-blind)
#B6A657
Tritanopia (blue-blind)
#BA9C93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa653;
/* rgb */ color: rgb(175, 166, 83);
/* oklch */ color: oklch(71.5% 0.106 103.1);
Tailwind
colors: {
  custom: {
    50: '#c9c086',
    500: '#afa653',
    950: '#000000',
  },
}
SCSS
$custom: #afa653;
$custom-light: #c9c086;
$custom-dark: #000000;
JSON
{
  "hex": "#afa653",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 83
  },
  "hsl": {
    "h": 54.13,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71522,
    "c": 0.10557,
    "h": 103.1
  },
  "luminance": 0.37011
}

Semantic roles & 50–950 ramp

primary
#AFA653
secondary
#9A9EC3
accent
#66CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA653

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

Preview Lab → · Contrast checker → · Palette generator →

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