#AFA46E#AFA46E

#AFA46E is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.074 H 98.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AFA46E
RGBrgb(175, 164, 110)
HSLhsl(50, 29%, 56%)
HSVhsv(50, 37%, 69%)
CMYKcmyk(0%, 6.3%, 37.1%, 31.4%)
CIE-LABlab(67.12, -4.14, 29.49)
CIE-LCHlch(67.12, 29.78, 98.00°)
OKLaboklab(71.51% -0.0103 0.0728)
OKLCHoklch(71.51% 0.074 98.1)
XYZxyz(33.7697, 36.7916, 20.0714)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA46E #6E79AF
analogous
#AF836E #AFA46E #99AF6E
triadic
#AFA46E #6EAFA4 #A46EAF
tetradic
#AFA46E #6EAF83 #6E79AF #AF6E99
square
#AFA46E #6EAF83 #6E79AF #AF6E99
split-complementary
#AFA46E #6E99AF #836EAF
monochromatic
#69613A #908550 #AFA46E #C5BD95 #DBD6BD

Accessibility & contrast

On white

2.51
#AFA46E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AFA46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA46E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA46E#FFFFFF#000000##000000
##AFA46E1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA16A
Deuteranopia (green-blind)
#B1A570
Tritanopia (blue-blind)
#B89D96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa46e;
/* rgb */ color: rgb(175, 164, 110);
/* oklch */ color: oklch(71.5% 0.074 98.1);
Tailwind
colors: {
  custom: {
    50: '#c8be98',
    500: '#afa46e',
    950: '#000000',
  },
}
SCSS
$custom: #afa46e;
$custom-light: #c8be98;
$custom-dark: #000000;
JSON
{
  "hex": "#afa46e",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 110
  },
  "hsl": {
    "h": 49.846,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.71513,
    "c": 0.07354,
    "h": 98.1
  },
  "luminance": 0.36791
}

Semantic roles & 50–950 ramp

primary
#AFA46E
secondary
#AFB3CA
accent
#73C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA46E

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

Preview Lab → · Contrast checker → · Palette generator →

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