#AFA65D#AFA65D

#AFA65D is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.095 H 102.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA65D
RGBrgb(175, 166, 93)
HSLhsl(53, 34%, 53%)
HSVhsv(53, 47%, 69%)
CMYKcmyk(0%, 5.1%, 46.9%, 31.4%)
CIE-LABlab(67.41, -7.07, 38.77)
CIE-LCHlch(67.41, 39.41, 100.34°)
OKLaboklab(71.66% -0.0202 0.093)
OKLCHoklch(71.66% 0.095 102.3)
XYZxyz(33.2920, 37.1777, 15.7761)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA65D #5D66AF
analogous
#AF7D5D #AFA65D #8FAF5D
triadic
#AFA65D #5DAFA6 #A65DAF
tetradic
#AFA65D #5DAF7D #5D66AF #AF5D8F
square
#AFA65D #5DAF7D #5D66AF #AF5D8F
split-complementary
#AFA65D #5D8FAF #7D5DAF
monochromatic
#615C30 #8A8344 #AFA65D #C3BD86 #D7D3AF

Accessibility & contrast

On white

2.49
#AFA65D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AFA65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA65D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA65D#FFFFFF#000000##000000
##AFA65D1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A257
Deuteranopia (green-blind)
#B5A660
Tritanopia (blue-blind)
#BA9D95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa65d;
/* rgb */ color: rgb(175, 166, 93);
/* oklch */ color: oklch(71.7% 0.095 102.3);
Tailwind
colors: {
  custom: {
    50: '#c8c08c',
    500: '#afa65d',
    950: '#000000',
  },
}
SCSS
$custom: #afa65d;
$custom-light: #c8c08c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa65d",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 93
  },
  "hsl": {
    "h": 53.415,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7166,
    "c": 0.09512,
    "h": 102.3
  },
  "luminance": 0.37177
}

Semantic roles & 50–950 ramp

primary
#AFA65D
secondary
#A2A6C6
accent
#6ACA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA65D

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

Preview Lab → · Contrast checker → · Palette generator →

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