#AFA36D#AFA36D

#AFA36D is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.074 H 97.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AFA36D
RGBrgb(175, 163, 109)
HSLhsl(49, 29%, 56%)
HSVhsv(49, 38%, 69%)
CMYKcmyk(0%, 6.9%, 37.7%, 31.4%)
CIE-LABlab(66.83, -3.73, 29.65)
CIE-LCHlch(66.83, 29.88, 97.17°)
OKLaboklab(71.28% -0.0092 0.0731)
OKLCHoklch(71.28% 0.074 97.2)
XYZxyz(33.5373, 36.4135, 19.7269)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA36D #6D79AF
analogous
#AF826D #AFA36D #9AAF6D
triadic
#AFA36D #6DAFA3 #A36DAF
tetradic
#AFA36D #6DAF82 #6D79AF #AF6D9A
square
#AFA36D #6DAF82 #6D79AF #AF6D9A
split-complementary
#AFA36D #6D9AAF #826DAF
monochromatic
#686039 #90844F #AFA36D #C5BC95 #DAD5BC

Accessibility & contrast

On white

2.54
#AFA36D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#AFA36D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA36D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA36D#FFFFFF#000000##000000
##AFA36D1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA069
Deuteranopia (green-blind)
#B1A46F
Tritanopia (blue-blind)
#B99B95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa36d;
/* rgb */ color: rgb(175, 163, 109);
/* oklch */ color: oklch(71.3% 0.074 97.2);
Tailwind
colors: {
  custom: {
    50: '#c8be97',
    500: '#afa36d',
    950: '#000000',
  },
}
SCSS
$custom: #afa36d;
$custom-light: #c8be97;
$custom-dark: #000000;
JSON
{
  "hex": "#afa36d",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 109
  },
  "hsl": {
    "h": 49.091,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71282,
    "c": 0.07371,
    "h": 97.2
  },
  "luminance": 0.36412
}

Semantic roles & 50–950 ramp

primary
#AFA36D
secondary
#AEB3CA
accent
#74C562
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA36D

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

Preview Lab → · Contrast checker → · Palette generator →

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