#AFAA73#AFAA73

#AFAA73 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.074 H 103.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFAA73
RGBrgb(175, 170, 115)
HSLhsl(55, 27%, 57%)
HSVhsv(55, 34%, 69%)
CMYKcmyk(0%, 2.9%, 34.3%, 31.4%)
CIE-LABlab(68.83, -6.74, 29.05)
CIE-LCHlch(68.83, 29.82, 103.06°)
OKLaboklab(72.89% -0.0175 0.072)
OKLCHoklch(72.89% 0.074 103.6)
XYZxyz(35.1488, 39.1020, 21.9122)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA73 #7378AF
analogous
#AF8C73 #AFAA73 #96AF73
triadic
#AFAA73 #73AFAA #AA73AF
tetradic
#AFAA73 #73AF8C #7378AF #AF7396
square
#AFAA73 #73AF8C #7378AF #AF7396
split-complementary
#AFAA73 #7396AF #8C73AF
monochromatic
#6B673D #928C53 #AFAA73 #C5C29A #DCD9C1

Accessibility & contrast

On white

2.38
#AFAA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFAA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA73
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA73#FFFFFF#000000##000000
##AFAA731.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A66F
Deuteranopia (green-blind)
#B5A975
Tritanopia (blue-blind)
#B8A39C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa73;
/* rgb */ color: rgb(175, 170, 115);
/* oklch */ color: oklch(72.9% 0.074 103.6);
Tailwind
colors: {
  custom: {
    50: '#c8c39c',
    500: '#afaa73',
    950: '#000000',
  },
}
SCSS
$custom: #afaa73;
$custom-light: #c8c39c;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa73",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 115
  },
  "hsl": {
    "h": 55,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.07405,
    "h": 103.6
  },
  "luminance": 0.39101
}

Semantic roles & 50–950 ramp

primary
#AFAA73
secondary
#B3B5CB
accent
#6CC464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA73

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

Preview Lab → · Contrast checker → · Palette generator →

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