#AFAA77#AFAA77

#AFAA77 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.069 H 103.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AFAA77
RGBrgb(175, 170, 119)
HSLhsl(55, 26%, 58%)
HSVhsv(55, 32%, 69%)
CMYKcmyk(0%, 2.9%, 32%, 31.4%)
CIE-LABlab(68.89, -6.23, 27.00)
CIE-LCHlch(68.89, 27.71, 103.00°)
OKLaboklab(72.97% -0.0158 0.0673)
OKLCHoklch(72.97% 0.069 103.2)
XYZxyz(35.3840, 39.1961, 23.1508)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA77 #777CAF
analogous
#AF8E77 #AFAA77 #98AF77
triadic
#AFAA77 #77AFAA #AA77AF
tetradic
#AFAA77 #77AF8E #777CAF #AF7798
square
#AFAA77 #77AF8E #777CAF #AF7798
split-complementary
#AFAA77 #7798AF #8E77AF
monochromatic
#6C6840 #938D56 #AFAA77 #C6C29E #DCDAC4

Accessibility & contrast

On white

2.38
#AFAA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AFAA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA77
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA77#FFFFFF#000000##000000
##AFAA771.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A674
Deuteranopia (green-blind)
#B5A979
Tritanopia (blue-blind)
#B7A39D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa77;
/* rgb */ color: rgb(175, 170, 119);
/* oklch */ color: oklch(73.0% 0.069 103.2);
Tailwind
colors: {
  custom: {
    50: '#c7c39e',
    500: '#afaa77',
    950: '#000000',
  },
}
SCSS
$custom: #afaa77;
$custom-light: #c7c39e;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa77",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 119
  },
  "hsl": {
    "h": 54.643,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.06911,
    "h": 103.2
  },
  "luminance": 0.39195
}

Semantic roles & 50–950 ramp

primary
#AFAA77
secondary
#B6B8CC
accent
#6EC265
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA77

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

Preview Lab → · Contrast checker → · Palette generator →

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