#AFA298#AFA298

#AFA298 is a light, muted orange. Relative luminance 0.372; OKLCH L 72.0% C 0.021 H 60.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA298
RGBrgb(175, 162, 152)
HSLhsl(26, 13%, 64%)
HSVhsv(26, 13%, 69%)
CMYKcmyk(0%, 7.4%, 13.1%, 31.4%)
CIE-LABlab(67.44, 2.98, 6.90)
CIE-LCHlch(67.44, 7.52, 66.61°)
OKLaboklab(72.05% 0.0104 0.0181)
OKLCHoklch(72.05% 0.021 60)
XYZxyz(36.2666, 37.2222, 34.9738)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA298 #98A5AF
analogous
#AF989A #AFA298 #AFAE98
triadic
#AFA298 #98AFA2 #A298AF
tetradic
#AFA298 #9AAF98 #98A5AF #AE98AF
square
#AFA298 #9AAF98 #98A5AF #AE98AF
split-complementary
#AFA298 #98AFAE #989AAF
monochromatic
#736559 #948376 #AFA298 #CAC1BA #E5E0DD

Accessibility & contrast

On white

2.49
#AFA298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AFA298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA298
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA298#FFFFFF#000000##000000
##AFA2981.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A397
Deuteranopia (green-blind)
#A9A598
Tritanopia (blue-blind)
#B49F9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa298;
/* rgb */ color: rgb(175, 162, 152);
/* oklch */ color: oklch(72.0% 0.021 60.0);
Tailwind
colors: {
  custom: {
    50: '#c7bdb6',
    500: '#afa298',
    950: '#000000',
  },
}
SCSS
$custom: #afa298;
$custom-light: #c7bdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa298",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 152
  },
  "hsl": {
    "h": 26.087,
    "s": 12.568,
    "l": 64.118
  },
  "oklch": {
    "l": 0.72049,
    "c": 0.02087,
    "h": 60
  },
  "luminance": 0.37222
}

Semantic roles & 50–950 ramp

primary
#AFA298
secondary
#CDD2D5
accent
#77974F
background
#FCFBFB
surface
#F8F6F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA298

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

Preview Lab → · Contrast checker → · Palette generator →

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