#AFA37F#AFA37F

#AFA37F is a light, muted yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.052 H 91.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AFA37F
RGBrgb(175, 163, 127)
HSLhsl(45, 23%, 59%)
HSVhsv(45, 27%, 69%)
CMYKcmyk(0%, 6.9%, 27.4%, 31.4%)
CIE-LABlab(67.16, -1.40, 20.32)
CIE-LCHlch(67.16, 20.37, 93.95°)
OKLaboklab(71.64% -0.0016 0.0515)
OKLCHoklch(71.64% 0.052 91.8)
XYZxyz(34.6074, 36.8415, 25.3626)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA37F #7F8BAF
analogous
#AF8B7F #AFA37F #A3AF7F
triadic
#AFA37F #7FAFA3 #A37FAF
tetradic
#AFA37F #7FAF8B #7F8BAF #AF7FA3
square
#AFA37F #7FAF8B #7F8BAF #AF7FA3
split-complementary
#AFA37F #7FA3AF #8B7FAF
monochromatic
#6F6445 #94865D #AFA37F #C7BEA5 #DED9CA

Accessibility & contrast

On white

2.51
#AFA37F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AFA37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA37F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA37F#FFFFFF#000000##000000
##AFA37F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA17D
Deuteranopia (green-blind)
#AEA580
Tritanopia (blue-blind)
#B79D99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa37f;
/* rgb */ color: rgb(175, 163, 127);
/* oklch */ color: oklch(71.6% 0.052 91.8);
Tailwind
colors: {
  custom: {
    50: '#c7bea4',
    500: '#afa37f',
    950: '#000000',
  },
}
SCSS
$custom: #afa37f;
$custom-light: #c7bea4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa37f",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 127
  },
  "hsl": {
    "h": 45,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.71643,
    "c": 0.05151,
    "h": 91.8
  },
  "luminance": 0.36841
}

Semantic roles & 50–950 ramp

primary
#AFA37F
secondary
#BCC0CE
accent
#7EC068
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA37F

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

Preview Lab → · Contrast checker → · Palette generator →

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