#AFA375#AFA375

#AFA375 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.064 H 95.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA375
RGBrgb(175, 163, 117)
HSLhsl(48, 27%, 57%)
HSVhsv(48, 33%, 69%)
CMYKcmyk(0%, 6.9%, 33.1%, 31.4%)
CIE-LABlab(66.97, -2.74, 25.52)
CIE-LCHlch(66.97, 25.66, 96.13°)
OKLaboklab(71.43% -0.0058 0.0637)
OKLCHoklch(71.43% 0.064 95.2)
XYZxyz(33.9877, 36.5936, 22.0991)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA375 #7581AF
analogous
#AF8675 #AFA375 #9EAF75
triadic
#AFA375 #75AFA3 #A375AF
tetradic
#AFA375 #75AF86 #7581AF #AF759E
square
#AFA375 #75AF86 #7581AF #AF759E
split-complementary
#AFA375 #759EAF #8675AF
monochromatic
#6B623E #928555 #AFA375 #C5BD9C #DCD7C2

Accessibility & contrast

On white

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

On black

8.32
#AFA375 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA375
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA375#FFFFFF#000000##000000
##AFA3751.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa375;
/* rgb */ color: rgb(175, 163, 117);
/* oklch */ color: oklch(71.4% 0.064 95.2);
Tailwind
colors: {
  custom: {
    50: '#c7be9d',
    500: '#afa375',
    950: '#000000',
  },
}
SCSS
$custom: #afa375;
$custom-light: #c7be9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa375",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 117
  },
  "hsl": {
    "h": 47.586,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.71434,
    "c": 0.064,
    "h": 95.2
  },
  "luminance": 0.36593
}

Semantic roles & 50–950 ramp

primary
#AFA375
secondary
#B4B9CC
accent
#78C365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA375

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

Preview Lab → · Contrast checker → · Palette generator →

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