#AFA275#AFA275

#AFA275 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.063 H 93.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AFA275
RGBrgb(175, 162, 117)
HSLhsl(47, 27%, 57%)
HSVhsv(47, 33%, 69%)
CMYKcmyk(0%, 7.4%, 33.1%, 31.4%)
CIE-LABlab(66.70, -2.20, 25.16)
CIE-LCHlch(66.70, 25.26, 95.00°)
OKLaboklab(71.22% -0.0043 0.0629)
OKLCHoklch(71.22% 0.063 93.9)
XYZxyz(33.8109, 36.2399, 22.0401)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA275 #7582AF
analogous
#AF8575 #AFA275 #9FAF75
triadic
#AFA275 #75AFA2 #A275AF
tetradic
#AFA275 #75AF85 #7582AF #AF759F
square
#AFA275 #75AF85 #7582AF #AF759F
split-complementary
#AFA275 #759FAF #8575AF
monochromatic
#6B613E #928455 #AFA275 #C5BC9C #DCD6C2

Accessibility & contrast

On white

2.55
#AFA275 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AFA275 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA275
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA275#FFFFFF#000000##000000
##AFA2751.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA072
Deuteranopia (green-blind)
#AFA476
Tritanopia (blue-blind)
#B89B96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa275;
/* rgb */ color: rgb(175, 162, 117);
/* oklch */ color: oklch(71.2% 0.063 93.9);
Tailwind
colors: {
  custom: {
    50: '#c7bd9d',
    500: '#afa275',
    950: '#000000',
  },
}
SCSS
$custom: #afa275;
$custom-light: #c7bd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa275",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 117
  },
  "hsl": {
    "h": 46.552,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.71222,
    "c": 0.06303,
    "h": 93.9
  },
  "luminance": 0.36239
}

Semantic roles & 50–950 ramp

primary
#AFA275
secondary
#B4B9CC
accent
#7AC365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA275

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

Preview Lab → · Contrast checker → · Palette generator →

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