#AFA67E#AFA67E

#AFA67E is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.056 H 96.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#AFA67E
RGBrgb(175, 166, 126)
HSLhsl(49, 23%, 59%)
HSVhsv(49, 28%, 69%)
CMYKcmyk(0%, 5.1%, 28%, 31.4%)
CIE-LABlab(67.94, -3.16, 21.93)
CIE-LCHlch(67.94, 22.16, 98.20°)
OKLaboklab(72.26% -0.0067 0.0554)
OKLCHoklch(72.26% 0.056 96.9)
XYZxyz(35.0815, 37.8935, 25.2008)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA67E #7E87AF
analogous
#AF8E7E #AFA67E #A0AF7E
triadic
#AFA67E #7EAFA6 #A67EAF
tetradic
#AFA67E #7EAF8E #7E87AF #AF7EA0
square
#AFA67E #7EAF8E #7E87AF #AF7EA0
split-complementary
#AFA67E #7EA0AF #8E7EAF
monochromatic
#6E6744 #948A5C #AFA67E #C6C0A4 #DEDACA

Accessibility & contrast

On white

2.45
#AFA67E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#AFA67E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA67E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA67E#FFFFFF#000000##000000
##AFA67E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47B
Deuteranopia (green-blind)
#B1A77F
Tritanopia (blue-blind)
#B7A09B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa67e;
/* rgb */ color: rgb(175, 166, 126);
/* oklch */ color: oklch(72.3% 0.056 96.9);
Tailwind
colors: {
  custom: {
    50: '#c7c0a3',
    500: '#afa67e',
    950: '#000000',
  },
}
SCSS
$custom: #afa67e;
$custom-light: #c7c0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa67e",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 126
  },
  "hsl": {
    "h": 48.98,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.72255,
    "c": 0.05577,
    "h": 96.9
  },
  "luminance": 0.37893
}

Semantic roles & 50–950 ramp

primary
#AFA67E
secondary
#BBBECE
accent
#78C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA67E

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

Preview Lab → · Contrast checker → · Palette generator →

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