#AFA755#AFA755

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

Color values

HEX#AFA755
RGBrgb(175, 167, 85)
HSLhsl(55, 36%, 51%)
HSVhsv(55, 51%, 69%)
CMYKcmyk(0%, 4.6%, 51.4%, 31.4%)
CIE-LABlab(67.58, -8.36, 43.00)
CIE-LCHlch(67.58, 43.80, 101.00°)
OKLaboklab(71.76% -0.0247 0.1016)
OKLCHoklch(71.76% 0.105 103.7)
XYZxyz(33.1385, 37.4083, 14.0675)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA755 #555DAF
analogous
#AF7A55 #AFA755 #8AAF55
triadic
#AFA755 #55AFA7 #A755AF
tetradic
#AFA755 #55AF7A #555DAF #AF558A
square
#AFA755 #55AF7A #555DAF #AF558A
split-complementary
#AFA755 #558AAF #7A55AF
monochromatic
#5E592C #878140 #AFA755 #C3BD7F #D6D2A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA755#FFFFFF#000000##000000
##AFA7551.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)
#B3A24E
Deuteranopia (green-blind)
#B6A759
Tritanopia (blue-blind)
#BA9D94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa755;
/* rgb */ color: rgb(175, 167, 85);
/* oklch */ color: oklch(71.8% 0.105 103.7);
Tailwind
colors: {
  custom: {
    50: '#c9c087',
    500: '#afa755',
    950: '#000000',
  },
}
SCSS
$custom: #afa755;
$custom-light: #c9c087;
$custom-dark: #000000;
JSON
{
  "hex": "#afa755",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 85
  },
  "hsl": {
    "h": 54.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71764,
    "c": 0.10458,
    "h": 103.7
  },
  "luminance": 0.37407
}

Semantic roles & 50–950 ramp

primary
#AFA755
secondary
#9CA0C4
accent
#66CC5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA755

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

Preview Lab → · Contrast checker → · Palette generator →

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