#AFA35D#AFA35D

#AFA35D is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.092 H 99.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AFA35D
RGBrgb(175, 163, 93)
HSLhsl(51, 34%, 53%)
HSVhsv(51, 47%, 69%)
CMYKcmyk(0%, 6.9%, 46.9%, 31.4%)
CIE-LABlab(66.60, -5.47, 37.76)
CIE-LCHlch(66.60, 38.16, 98.25°)
OKLaboklab(71.02% -0.0156 0.0907)
OKLCHoklch(71.02% 0.092 99.8)
XYZxyz(32.7530, 36.0998, 15.5965)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA35D #5D69AF
analogous
#AF7A5D #AFA35D #92AF5D
triadic
#AFA35D #5DAFA3 #A35DAF
tetradic
#AFA35D #5DAF7A #5D69AF #AF5D92
square
#AFA35D #5DAF7A #5D69AF #AF5D92
split-complementary
#AFA35D #5D92AF #7A5DAF
monochromatic
#615A30 #8A8044 #AFA35D #C3BA86 #D7D2AF

Accessibility & contrast

On white

2.55
#AFA35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#AFA35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA35D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA35D#FFFFFF#000000##000000
##AFA35D1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F57
Deuteranopia (green-blind)
#B2A460
Tritanopia (blue-blind)
#BA9A92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa35d;
/* rgb */ color: rgb(175, 163, 93);
/* oklch */ color: oklch(71.0% 0.092 99.8);
Tailwind
colors: {
  custom: {
    50: '#c8be8c',
    500: '#afa35d',
    950: '#000000',
  },
}
SCSS
$custom: #afa35d;
$custom-light: #c8be8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa35d",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 93
  },
  "hsl": {
    "h": 51.22,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71015,
    "c": 0.09205,
    "h": 99.8
  },
  "luminance": 0.36099
}

Semantic roles & 50–950 ramp

primary
#AFA35D
secondary
#A2A7C6
accent
#6ECA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA35D

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

Preview Lab → · Contrast checker → · Palette generator →

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