#AFAA75#AFAA75

#AFAA75 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.072 H 103.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#AFAA75
RGBrgb(175, 170, 117)
HSLhsl(55, 27%, 57%)
HSVhsv(55, 33%, 69%)
CMYKcmyk(0%, 2.9%, 33.1%, 31.4%)
CIE-LABlab(68.86, -6.49, 28.02)
CIE-LCHlch(68.86, 28.76, 103.03°)
OKLaboklab(72.93% -0.0166 0.0696)
OKLCHoklch(72.93% 0.072 103.4)
XYZxyz(35.2652, 39.1485, 22.5249)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA75 #757AAF
analogous
#AF8D75 #AFAA75 #97AF75
triadic
#AFAA75 #75AFAA #AA75AF
tetradic
#AFAA75 #75AF8D #757AAF #AF7597
square
#AFAA75 #75AF8D #757AAF #AF7597
split-complementary
#AFAA75 #7597AF #8D75AF
monochromatic
#6B673E #928D55 #AFAA75 #C5C29C #DCDAC2

Accessibility & contrast

On white

2.38
#AFAA75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#AFAA75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA75
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA75#FFFFFF#000000##000000
##AFAA751.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A671
Deuteranopia (green-blind)
#B5A977
Tritanopia (blue-blind)
#B7A39C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa75;
/* rgb */ color: rgb(175, 170, 117);
/* oklch */ color: oklch(72.9% 0.072 103.4);
Tailwind
colors: {
  custom: {
    50: '#c7c39d',
    500: '#afaa75',
    950: '#000000',
  },
}
SCSS
$custom: #afaa75;
$custom-light: #c7c39d;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa75",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 117
  },
  "hsl": {
    "h": 54.828,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.07159,
    "h": 103.4
  },
  "luminance": 0.39148
}

Semantic roles & 50–950 ramp

primary
#AFAA75
secondary
#B4B6CC
accent
#6DC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA75

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

Preview Lab → · Contrast checker → · Palette generator →

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