#AFA175#AFA175

#AFA175 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.062 H 92.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AFA175
RGBrgb(175, 161, 117)
HSLhsl(46, 27%, 57%)
HSVhsv(46, 33%, 69%)
CMYKcmyk(0%, 8%, 33.1%, 31.4%)
CIE-LABlab(66.44, -1.66, 24.80)
CIE-LCHlch(66.44, 24.86, 93.83°)
OKLaboklab(71.01% -0.0027 0.062)
OKLCHoklch(71.01% 0.062 92.5)
XYZxyz(33.6354, 35.8890, 21.9816)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA175 #7583AF
analogous
#AF8475 #AFA175 #A0AF75
triadic
#AFA175 #75AFA1 #A175AF
tetradic
#AFA175 #75AF84 #7583AF #AF75A0
square
#AFA175 #75AF84 #7583AF #AF75A0
split-complementary
#AFA175 #75A0AF #8475AF
monochromatic
#6B603E #928355 #AFA175 #C5BB9C #DCD6C2

Accessibility & contrast

On white

2.57
#AFA175 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AFA175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA175
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA175#FFFFFF#000000##000000
##AFA1751.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F72
Deuteranopia (green-blind)
#AEA376
Tritanopia (blue-blind)
#B89A95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa175;
/* rgb */ color: rgb(175, 161, 117);
/* oklch */ color: oklch(71.0% 0.062 92.5);
Tailwind
colors: {
  custom: {
    50: '#c7bc9d',
    500: '#afa175',
    950: '#000000',
  },
}
SCSS
$custom: #afa175;
$custom-light: #c7bc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa175",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 117
  },
  "hsl": {
    "h": 45.517,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.0621,
    "h": 92.5
  },
  "luminance": 0.35888
}

Semantic roles & 50–950 ramp

primary
#AFA175
secondary
#B4BACC
accent
#7CC365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA175

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

Preview Lab → · Contrast checker → · Palette generator →

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