#AFA26E#AFA26E

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

Color values

HEX#AFA26E
RGBrgb(175, 162, 110)
HSLhsl(48, 29%, 56%)
HSVhsv(48, 37%, 69%)
CMYKcmyk(0%, 7.4%, 37.1%, 31.4%)
CIE-LABlab(66.58, -3.07, 28.78)
CIE-LCHlch(66.58, 28.95, 96.09°)
OKLaboklab(71.09% -0.0072 0.0712)
OKLCHoklch(71.09% 0.072 95.8)
XYZxyz(33.4146, 36.0814, 19.9531)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA26E #6E7BAF
analogous
#AF816E #AFA26E #9BAF6E
triadic
#AFA26E #6EAFA2 #A26EAF
tetradic
#AFA26E #6EAF81 #6E7BAF #AF6E9B
square
#AFA26E #6EAF81 #6E7BAF #AF6E9B
split-complementary
#AFA26E #6E9BAF #816EAF
monochromatic
#695F3A #908350 #AFA26E #C5BB95 #DBD5BD

Accessibility & contrast

On white

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

On black

8.22
#AFA26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA26E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA26E#FFFFFF#000000##000000
##AFA26E1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa26e;
/* rgb */ color: rgb(175, 162, 110);
/* oklch */ color: oklch(71.1% 0.072 95.8);
Tailwind
colors: {
  custom: {
    50: '#c8bd98',
    500: '#afa26e',
    950: '#000000',
  },
}
SCSS
$custom: #afa26e;
$custom-light: #c8bd98;
$custom-dark: #000000;
JSON
{
  "hex": "#afa26e",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 110
  },
  "hsl": {
    "h": 48,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.71087,
    "c": 0.07153,
    "h": 95.8
  },
  "luminance": 0.3608
}

Semantic roles & 50–950 ramp

primary
#AFA26E
secondary
#AFB4CA
accent
#76C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA26E

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

Preview Lab → · Contrast checker → · Palette generator →

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