#AFAA7F#AFAA7F

#AFAA7F is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.059 H 102.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AFAA7F
RGBrgb(175, 170, 127)
HSLhsl(54, 23%, 59%)
HSVhsv(54, 27%, 69%)
CMYKcmyk(0%, 2.9%, 27.4%, 31.4%)
CIE-LABlab(69.04, -5.16, 22.87)
CIE-LCHlch(69.04, 23.45, 102.72°)
OKLaboklab(73.13% -0.0124 0.0577)
OKLCHoklch(73.13% 0.059 102.2)
XYZxyz(35.8848, 39.3964, 25.7885)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA7F #7F84AF
analogous
#AF927F #AFAA7F #9CAF7F
triadic
#AFAA7F #7FAFAA #AA7FAF
tetradic
#AFAA7F #7FAF92 #7F84AF #AF7F9C
square
#AFAA7F #7FAF92 #7F84AF #AF7F9C
split-complementary
#AFAA7F #7F9CAF #927FAF
monochromatic
#6F6A45 #948E5D #AFAA7F #C7C3A5 #DEDCCA

Accessibility & contrast

On white

2.37
#AFAA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#AFAA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA7F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA7F#FFFFFF#000000##000000
##AFAA7F1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A77C
Deuteranopia (green-blind)
#B4AA81
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa7f;
/* rgb */ color: rgb(175, 170, 127);
/* oklch */ color: oklch(73.1% 0.059 102.2);
Tailwind
colors: {
  custom: {
    50: '#c7c3a4',
    500: '#afaa7f',
    950: '#000000',
  },
}
SCSS
$custom: #afaa7f;
$custom-light: #c7c3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa7f",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 127
  },
  "hsl": {
    "h": 53.75,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.05897,
    "h": 102.2
  },
  "luminance": 0.39396
}

Semantic roles & 50–950 ramp

primary
#AFAA7F
secondary
#BCBDCE
accent
#71C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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