#AFA265#AFA265

#AFA265 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.082 H 97.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AFA265
RGBrgb(175, 162, 101)
HSLhsl(49, 32%, 54%)
HSVhsv(49, 42%, 69%)
CMYKcmyk(0%, 7.4%, 42.3%, 31.4%)
CIE-LABlab(66.44, -4.10, 33.39)
CIE-LCHlch(66.44, 33.64, 97.00°)
OKLaboklab(70.93% -0.0109 0.0814)
OKLCHoklch(70.93% 0.082 97.6)
XYZxyz(32.9492, 35.8953, 17.5022)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA265 #6572AF
analogous
#AF7D65 #AFA265 #97AF65
triadic
#AFA265 #65AFA2 #A265AF
tetradic
#AFA265 #65AF7D #6572AF #AF6597
square
#AFA265 #65AF7D #6572AF #AF6597
split-complementary
#AFA265 #6597AF #7D65AF
monochromatic
#655D35 #8D8149 #AFA265 #C4BA8D #D9D3B6

Accessibility & contrast

On white

2.57
#AFA265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AFA265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA265
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA265#FFFFFF#000000##000000
##AFA2651.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F60
Deuteranopia (green-blind)
#B1A467
Tritanopia (blue-blind)
#B99A93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa265;
/* rgb */ color: rgb(175, 162, 101);
/* oklch */ color: oklch(70.9% 0.082 97.6);
Tailwind
colors: {
  custom: {
    50: '#c8bd92',
    500: '#afa265',
    950: '#000000',
  },
}
SCSS
$custom: #afa265;
$custom-light: #c8bd92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa265",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 101
  },
  "hsl": {
    "h": 49.459,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.70928,
    "c": 0.08211,
    "h": 97.6
  },
  "luminance": 0.35894
}

Semantic roles & 50–950 ramp

primary
#AFA265
secondary
#A8AEC8
accent
#72C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA265

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

Preview Lab → · Contrast checker → · Palette generator →

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