#AFA753#AFA753

#AFA753 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.107 H 103.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AFA753
RGBrgb(175, 167, 83)
HSLhsl(55, 37%, 51%)
HSVhsv(55, 53%, 69%)
CMYKcmyk(0%, 4.6%, 52.6%, 31.4%)
CIE-LABlab(67.56, -8.53, 43.96)
CIE-LCHlch(67.56, 44.78, 100.98°)
OKLaboklab(71.74% -0.0255 0.1035)
OKLCHoklch(71.74% 0.107 103.8)
XYZxyz(33.0602, 37.3770, 13.6549)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA753 #535BAF
analogous
#AF7953 #AFA753 #89AF53
triadic
#AFA753 #53AFA7 #A753AF
tetradic
#AFA753 #53AF79 #535BAF #AF5389
square
#AFA753 #53AF79 #535BAF #AF5389
split-complementary
#AFA753 #5389AF #7953AF
monochromatic
#5D582B #86803E #AFA753 #C2BC7D #D6D2A7

Accessibility & contrast

On white

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

On black

8.48
#AFA753 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA753
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA753#FFFFFF#000000##000000
##AFA7531.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24B
Deuteranopia (green-blind)
#B6A757
Tritanopia (blue-blind)
#BA9D94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa753;
/* rgb */ color: rgb(175, 167, 83);
/* oklch */ color: oklch(71.7% 0.107 103.8);
Tailwind
colors: {
  custom: {
    50: '#c9c086',
    500: '#afa753',
    950: '#000000',
  },
}
SCSS
$custom: #afa753;
$custom-light: #c9c086;
$custom-dark: #000000;
JSON
{
  "hex": "#afa753",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 83
  },
  "hsl": {
    "h": 54.783,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71738,
    "c": 0.1066,
    "h": 103.8
  },
  "luminance": 0.37376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA753

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

Preview Lab → · Contrast checker → · Palette generator →

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