#AFA377#AFA377

#AFA377 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.5% C 0.062 H 94.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#AFA377
RGBrgb(175, 163, 119)
HSLhsl(47, 26%, 58%)
HSVhsv(47, 32%, 69%)
CMYKcmyk(0%, 6.9%, 32%, 31.4%)
CIE-LABlab(67.01, -2.48, 24.48)
CIE-LCHlch(67.01, 24.61, 95.79°)
OKLaboklab(71.47% -0.005 0.0613)
OKLCHoklch(71.47% 0.062 94.7)
XYZxyz(34.1066, 36.6412, 22.7250)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA377 #7783AF
analogous
#AF8777 #AFA377 #9FAF77
triadic
#AFA377 #77AFA3 #A377AF
tetradic
#AFA377 #77AF87 #7783AF #AF779F
square
#AFA377 #77AF87 #7783AF #AF779F
split-complementary
#AFA377 #779FAF #8777AF
monochromatic
#6C6340 #938656 #AFA377 #C6BD9E #DCD7C4

Accessibility & contrast

On white

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

On black

8.33
#AFA377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA377
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA377#FFFFFF#000000##000000
##AFA3771.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA174
Deuteranopia (green-blind)
#AFA578
Tritanopia (blue-blind)
#B89C97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa377;
/* rgb */ color: rgb(175, 163, 119);
/* oklch */ color: oklch(71.5% 0.062 94.7);
Tailwind
colors: {
  custom: {
    50: '#c7be9e',
    500: '#afa377',
    950: '#000000',
  },
}
SCSS
$custom: #afa377;
$custom-light: #c7be9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa377",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 119
  },
  "hsl": {
    "h": 47.143,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.71474,
    "c": 0.06152,
    "h": 94.7
  },
  "luminance": 0.3664
}

Semantic roles & 50–950 ramp

primary
#AFA377
secondary
#B6BACC
accent
#79C265
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA377

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

Preview Lab → · Contrast checker → · Palette generator →

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