#AFA36B#AFA36B

#AFA36B is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.076 H 97.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AFA36B
RGBrgb(175, 163, 107)
HSLhsl(49, 30%, 55%)
HSVhsv(49, 39%, 69%)
CMYKcmyk(0%, 6.9%, 38.9%, 31.4%)
CIE-LABlab(66.80, -3.96, 30.68)
CIE-LCHlch(66.80, 30.93, 97.36°)
OKLaboklab(71.25% -0.01 0.0754)
OKLCHoklch(71.25% 0.076 97.6)
XYZxyz(33.4309, 36.3709, 19.1663)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA36B #6B77AF
analogous
#AF816B #AFA36B #99AF6B
triadic
#AFA36B #6BAFA3 #A36BAF
tetradic
#AFA36B #6BAF81 #6B77AF #AF6B99
square
#AFA36B #6BAF81 #6B77AF #AF6B99
split-complementary
#AFA36B #6B99AF #816BAF
monochromatic
#685F38 #8F844D #AFA36B #C4BC93 #DAD4BA

Accessibility & contrast

On white

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

On black

8.27
#AFA36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA36B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA36B#FFFFFF#000000##000000
##AFA36B1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA067
Deuteranopia (green-blind)
#B1A46D
Tritanopia (blue-blind)
#B99B95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa36b;
/* rgb */ color: rgb(175, 163, 107);
/* oklch */ color: oklch(71.2% 0.076 97.6);
Tailwind
colors: {
  custom: {
    50: '#c8be96',
    500: '#afa36b',
    950: '#000000',
  },
}
SCSS
$custom: #afa36b;
$custom-light: #c8be96;
$custom-dark: #000000;
JSON
{
  "hex": "#afa36b",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 107
  },
  "hsl": {
    "h": 49.412,
    "s": 29.825,
    "l": 55.294
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.0761,
    "h": 97.6
  },
  "luminance": 0.3637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA36B

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

Preview Lab → · Contrast checker → · Palette generator →

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