#AFA26A#AFA26A

#AFA26A is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.076 H 96.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#AFA26A
RGBrgb(175, 162, 106)
HSLhsl(49, 30%, 55%)
HSVhsv(49, 39%, 69%)
CMYKcmyk(0%, 7.4%, 39.4%, 31.4%)
CIE-LABlab(66.52, -3.54, 30.84)
CIE-LCHlch(66.52, 31.04, 96.55°)
OKLaboklab(71.02% -0.0089 0.0758)
OKLCHoklch(71.02% 0.076 96.7)
XYZxyz(33.2017, 35.9963, 18.8319)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA26A #6A77AF
analogous
#AF806A #AFA26A #99AF6A
triadic
#AFA26A #6AAFA2 #A26AAF
tetradic
#AFA26A #6AAF80 #6A77AF #AF6A99
square
#AFA26A #6AAF80 #6A77AF #AF6A99
split-complementary
#AFA26A #6A99AF #806AAF
monochromatic
#675E37 #8F834D #AFA26A #C4BB92 #DAD4BA

Accessibility & contrast

On white

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

On black

8.20
#AFA26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA26A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA26A#FFFFFF#000000##000000
##AFA26A1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa26a;
/* rgb */ color: rgb(175, 162, 106);
/* oklch */ color: oklch(71.0% 0.076 96.7);
Tailwind
colors: {
  custom: {
    50: '#c8bd95',
    500: '#afa26a',
    950: '#000000',
  },
}
SCSS
$custom: #afa26a;
$custom-light: #c8bd95;
$custom-dark: #000000;
JSON
{
  "hex": "#afa26a",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 106
  },
  "hsl": {
    "h": 48.696,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71015,
    "c": 0.07629,
    "h": 96.7
  },
  "luminance": 0.35995
}

Semantic roles & 50–950 ramp

primary
#AFA26A
secondary
#ACB1C9
accent
#74C661
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA26A

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

Preview Lab → · Contrast checker → · Palette generator →

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