#AFA073#AFA073

#AFA073 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.064 H 91.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA073
RGBrgb(175, 160, 115)
HSLhsl(45, 27%, 57%)
HSVhsv(45, 34%, 69%)
CMYKcmyk(0%, 8.6%, 34.3%, 31.4%)
CIE-LABlab(66.13, -1.37, 25.49)
CIE-LCHlch(66.13, 25.52, 93.09°)
OKLaboklab(70.76% -0.002 0.0636)
OKLCHoklch(70.76% 0.064 91.8)
XYZxyz(33.3450, 35.4944, 21.3109)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA073 #7382AF
analogous
#AF8273 #AFA073 #A0AF73
triadic
#AFA073 #73AFA0 #A073AF
tetradic
#AFA073 #73AF82 #7382AF #AF73A0
square
#AFA073 #73AF82 #7382AF #AF73A0
split-complementary
#AFA073 #73A0AF #8273AF
monochromatic
#6B5F3D #928253 #AFA073 #C5BA9A #DCD5C1

Accessibility & contrast

On white

2.59
#AFA073 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AFA073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA073
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA073#FFFFFF#000000##000000
##AFA0731.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E70
Deuteranopia (green-blind)
#AEA374
Tritanopia (blue-blind)
#B89994
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa073;
/* rgb */ color: rgb(175, 160, 115);
/* oklch */ color: oklch(70.8% 0.064 91.8);
Tailwind
colors: {
  custom: {
    50: '#c8bc9b',
    500: '#afa073',
    950: '#000000',
  },
}
SCSS
$custom: #afa073;
$custom-light: #c8bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa073",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 115
  },
  "hsl": {
    "h": 45,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.06363,
    "h": 91.8
  },
  "luminance": 0.35493
}

Semantic roles & 50–950 ramp

primary
#AFA073
secondary
#B3B9CB
accent
#7CC464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110E
muted
#82807E

Preview Lab

Preview with #AFA073

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

Preview Lab → · Contrast checker → · Palette generator →

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