#AFA675#AFA675

#AFA675 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.067 H 99.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA675
RGBrgb(175, 166, 117)
HSLhsl(51, 27%, 57%)
HSVhsv(51, 33%, 69%)
CMYKcmyk(0%, 5.1%, 33.1%, 31.4%)
CIE-LABlab(67.78, -4.35, 26.59)
CIE-LCHlch(67.78, 26.95, 99.29°)
OKLaboklab(72.07% -0.0105 0.0663)
OKLCHoklch(72.07% 0.067 99)
XYZxyz(34.5267, 37.6716, 22.2787)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA675 #757EAF
analogous
#AF8975 #AFA675 #9BAF75
triadic
#AFA675 #75AFA6 #A675AF
tetradic
#AFA675 #75AF89 #757EAF #AF759B
square
#AFA675 #75AF89 #757EAF #AF759B
split-complementary
#AFA675 #759BAF #8975AF
monochromatic
#6B643E #928955 #AFA675 #C5BF9C #DCD8C2

Accessibility & contrast

On white

2.46
#AFA675 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#AFA675 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA675
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA675#FFFFFF#000000##000000
##AFA6751.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA372
Deuteranopia (green-blind)
#B2A777
Tritanopia (blue-blind)
#B89F99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa675;
/* rgb */ color: rgb(175, 166, 117);
/* oklch */ color: oklch(72.1% 0.067 99.0);
Tailwind
colors: {
  custom: {
    50: '#c7c09d',
    500: '#afa675',
    950: '#000000',
  },
}
SCSS
$custom: #afa675;
$custom-light: #c7c09d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa675",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 117
  },
  "hsl": {
    "h": 50.69,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.72071,
    "c": 0.0671,
    "h": 99
  },
  "luminance": 0.37671
}

Semantic roles & 50–950 ramp

primary
#AFA675
secondary
#B4B8CC
accent
#73C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA675

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

Preview Lab → · Contrast checker → · Palette generator →

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