#AFA774#AFA774

#AFA774 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.069 H 100.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AFA774
RGBrgb(175, 167, 116)
HSLhsl(52, 27%, 57%)
HSVhsv(52, 34%, 69%)
CMYKcmyk(0%, 4.6%, 33.7%, 31.4%)
CIE-LABlab(68.03, -5.01, 27.46)
CIE-LCHlch(68.03, 27.92, 100.35°)
OKLaboklab(72.27% -0.0125 0.0683)
OKLCHoklch(72.27% 0.069 100.3)
XYZxyz(34.6507, 38.0132, 22.0316)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA774 #747CAF
analogous
#AF8974 #AFA774 #9AAF74
triadic
#AFA774 #74AFA7 #A774AF
tetradic
#AFA774 #74AF89 #747CAF #AF749A
square
#AFA774 #74AF89 #747CAF #AF749A
split-complementary
#AFA774 #749AAF #8974AF
monochromatic
#6B653E #928954 #AFA774 #C5C09B #DCD8C2

Accessibility & contrast

On white

2.44
#AFA774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AFA774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA774
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA774#FFFFFF#000000##000000
##AFA7741.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A470
Deuteranopia (green-blind)
#B3A776
Tritanopia (blue-blind)
#B8A09A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa774;
/* rgb */ color: rgb(175, 167, 116);
/* oklch */ color: oklch(72.3% 0.069 100.3);
Tailwind
colors: {
  custom: {
    50: '#c7c19c',
    500: '#afa774',
    950: '#000000',
  },
}
SCSS
$custom: #afa774;
$custom-light: #c7c19c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa774",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 116
  },
  "hsl": {
    "h": 51.864,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72265,
    "c": 0.06942,
    "h": 100.3
  },
  "luminance": 0.38012
}

Semantic roles & 50–950 ramp

primary
#AFA774
secondary
#B3B7CB
accent
#71C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA774

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

Preview Lab → · Contrast checker → · Palette generator →

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