#AFA379#AFA379

#AFA379 is a light, muted yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.059 H 94.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AFA379
RGBrgb(175, 163, 121)
HSLhsl(47, 25%, 58%)
HSVhsv(47, 31%, 69%)
CMYKcmyk(0%, 6.9%, 30.9%, 31.4%)
CIE-LABlab(67.04, -2.22, 23.44)
CIE-LCHlch(67.04, 23.55, 95.41°)
OKLaboklab(71.52% -0.0042 0.0589)
OKLCHoklch(71.52% 0.059 94.1)
XYZxyz(34.2279, 36.6897, 23.3642)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA379 #7985AF
analogous
#AF8879 #AFA379 #A0AF79
triadic
#AFA379 #79AFA3 #A379AF
tetradic
#AFA379 #79AF88 #7985AF #AF79A0
square
#AFA379 #79AF88 #7985AF #AF79A0
split-complementary
#AFA379 #79A0AF #8879AF
monochromatic
#6D6341 #938658 #AFA379 #C6BD9F #DDD8C6

Accessibility & contrast

On white

2.52
#AFA379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#AFA379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA379
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA379#FFFFFF#000000##000000
##AFA3791.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA176
Deuteranopia (green-blind)
#AFA57A
Tritanopia (blue-blind)
#B79D98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa379;
/* rgb */ color: rgb(175, 163, 121);
/* oklch */ color: oklch(71.5% 0.059 94.1);
Tailwind
colors: {
  custom: {
    50: '#c7bea0',
    500: '#afa379',
    950: '#000000',
  },
}
SCSS
$custom: #afa379;
$custom-light: #c7bea0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa379",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 121
  },
  "hsl": {
    "h": 46.667,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.71515,
    "c": 0.05904,
    "h": 94.1
  },
  "luminance": 0.36689
}

Semantic roles & 50–950 ramp

primary
#AFA379
secondary
#B7BCCD
accent
#7AC266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA379

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

Preview Lab → · Contrast checker → · Palette generator →

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