#AFA26D#AFA26D

#AFA26D is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.073 H 96.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#AFA26D
RGBrgb(175, 162, 109)
HSLhsl(48, 29%, 56%)
HSVhsv(48, 38%, 69%)
CMYKcmyk(0%, 7.4%, 37.7%, 31.4%)
CIE-LABlab(66.57, -3.19, 29.30)
CIE-LCHlch(66.57, 29.47, 96.21°)
OKLaboklab(71.07% -0.0076 0.0723)
OKLCHoklch(71.07% 0.073 96)
XYZxyz(33.3604, 36.0598, 19.6679)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA26D #6D7AAF
analogous
#AF816D #AFA26D #9BAF6D
triadic
#AFA26D #6DAFA2 #A26DAF
tetradic
#AFA26D #6DAF81 #6D7AAF #AF6D9B
square
#AFA26D #6DAF81 #6D7AAF #AF6D9B
split-complementary
#AFA26D #6D9BAF #816DAF
monochromatic
#685F39 #90834F #AFA26D #C5BB95 #DAD4BC

Accessibility & contrast

On white

2.56
#AFA26D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#AFA26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA26D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA26D#FFFFFF#000000##000000
##AFA26D1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9F69
Deuteranopia (green-blind)
#B0A46F
Tritanopia (blue-blind)
#B99A94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa26d;
/* rgb */ color: rgb(175, 162, 109);
/* oklch */ color: oklch(71.1% 0.073 96.0);
Tailwind
colors: {
  custom: {
    50: '#c8bd97',
    500: '#afa26d',
    950: '#000000',
  },
}
SCSS
$custom: #afa26d;
$custom-light: #c8bd97;
$custom-dark: #000000;
JSON
{
  "hex": "#afa26d",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 109
  },
  "hsl": {
    "h": 48.182,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.71069,
    "c": 0.07273,
    "h": 96
  },
  "luminance": 0.36059
}

Semantic roles & 50–950 ramp

primary
#AFA26D
secondary
#AEB4CA
accent
#76C562
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA26D

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

Preview Lab → · Contrast checker → · Palette generator →

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