#AFA36C#AFA36C

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

Color values

HEX#AFA36C
RGBrgb(175, 163, 108)
HSLhsl(49, 30%, 55%)
HSVhsv(49, 38%, 69%)
CMYKcmyk(0%, 6.9%, 38.3%, 31.4%)
CIE-LABlab(66.82, -3.85, 30.16)
CIE-LCHlch(66.82, 30.41, 97.27°)
OKLaboklab(71.26% -0.0096 0.0743)
OKLCHoklch(71.26% 0.075 97.4)
XYZxyz(33.4838, 36.3921, 19.4450)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA36C #6C78AF
analogous
#AF816C #AFA36C #99AF6C
triadic
#AFA36C #6CAFA3 #A36CAF
tetradic
#AFA36C #6CAF81 #6C78AF #AF6C99
square
#AFA36C #6CAF81 #6C78AF #AF6C99
split-complementary
#AFA36C #6C99AF #816CAF
monochromatic
#686039 #90844E #AFA36C #C5BC94 #DAD5BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA36C#FFFFFF#000000##000000
##AFA36C1.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)
#ADA068
Deuteranopia (green-blind)
#B1A46E
Tritanopia (blue-blind)
#B99B95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa36c;
/* rgb */ color: rgb(175, 163, 108);
/* oklch */ color: oklch(71.3% 0.075 97.4);
Tailwind
colors: {
  custom: {
    50: '#c8be97',
    500: '#afa36c',
    950: '#000000',
  },
}
SCSS
$custom: #afa36c;
$custom-light: #c8be97;
$custom-dark: #000000;
JSON
{
  "hex": "#afa36c",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 108
  },
  "hsl": {
    "h": 49.254,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.71263,
    "c": 0.07491,
    "h": 97.4
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

primary
#AFA36C
secondary
#ADB2C9
accent
#74C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA36C

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

Preview Lab → · Contrast checker → · Palette generator →

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