#AFA853#AFA853

#AFA853 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.108 H 104.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AFA853
RGBrgb(175, 168, 83)
HSLhsl(55, 37%, 51%)
HSVhsv(55, 53%, 69%)
CMYKcmyk(0%, 4%, 52.6%, 31.4%)
CIE-LABlab(67.83, -9.06, 44.28)
CIE-LCHlch(67.83, 45.20, 101.56°)
OKLaboklab(71.96% -0.027 0.1042)
OKLCHoklch(71.96% 0.108 104.5)
XYZxyz(33.2441, 37.7448, 13.7162)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA853 #535AAF
analogous
#AF7A53 #AFA853 #88AF53
triadic
#AFA853 #53AFA8 #A853AF
tetradic
#AFA853 #53AF7A #535AAF #AF5388
square
#AFA853 #53AF7A #535AAF #AF5388
split-complementary
#AFA853 #5388AF #7A53AF
monochromatic
#5D592B #86813E #AFA853 #C2BD7D #D6D2A7

Accessibility & contrast

On white

2.46
#AFA853 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AFA853 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA853
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA853#FFFFFF#000000##000000
##AFA8531.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34B
Deuteranopia (green-blind)
#B7A757
Tritanopia (blue-blind)
#BA9E95
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa853;
/* rgb */ color: rgb(175, 168, 83);
/* oklch */ color: oklch(72.0% 0.108 104.5);
Tailwind
colors: {
  custom: {
    50: '#c9c186',
    500: '#afa853',
    950: '#000000',
  },
}
SCSS
$custom: #afa853;
$custom-light: #c9c186;
$custom-dark: #000000;
JSON
{
  "hex": "#afa853",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 83
  },
  "hsl": {
    "h": 55.435,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71955,
    "c": 0.10765,
    "h": 104.5
  },
  "luminance": 0.37744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA853

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

Preview Lab → · Contrast checker → · Palette generator →

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