#AFA765#AFA765

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

Color values

HEX#AFA765
RGBrgb(175, 167, 101)
HSLhsl(54, 32%, 54%)
HSVhsv(54, 42%, 69%)
CMYKcmyk(0%, 4.6%, 42.3%, 31.4%)
CIE-LABlab(67.79, -6.77, 35.11)
CIE-LCHlch(67.79, 35.76, 100.92°)
OKLaboklab(72% -0.0186 0.0853)
OKLCHoklch(72% 0.087 102.3)
XYZxyz(33.8476, 37.6919, 17.8017)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA765 #656DAF
analogous
#AF8265 #AFA765 #92AF65
triadic
#AFA765 #65AFA7 #A765AF
tetradic
#AFA765 #65AF82 #656DAF #AF6592
square
#AFA765 #65AF82 #656DAF #AF6592
split-complementary
#AFA765 #6592AF #8265AF
monochromatic
#656035 #8D8649 #AFA765 #C4BE8D #D9D5B6

Accessibility & contrast

On white

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

On black

8.54
#AFA765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA765
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA765#FFFFFF#000000##000000
##AFA7651.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A360
Deuteranopia (green-blind)
#B5A768
Tritanopia (blue-blind)
#B99F97
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa765;
/* rgb */ color: rgb(175, 167, 101);
/* oklch */ color: oklch(72.0% 0.087 102.3);
Tailwind
colors: {
  custom: {
    50: '#c8c192',
    500: '#afa765',
    950: '#000000',
  },
}
SCSS
$custom: #afa765;
$custom-light: #c8c192;
$custom-dark: #000000;
JSON
{
  "hex": "#afa765",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 101
  },
  "hsl": {
    "h": 53.514,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.72,
    "c": 0.08728,
    "h": 102.3
  },
  "luminance": 0.37691
}

Semantic roles & 50–950 ramp

primary
#AFA765
secondary
#A8ACC8
accent
#6BC860
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA765

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

Preview Lab → · Contrast checker → · Palette generator →

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