#AFAC60#AFAC60

#AFAC60 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.098 H 106.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AFAC60
RGBrgb(175, 172, 96)
HSLhsl(58, 33%, 53%)
HSVhsv(58, 45%, 69%)
CMYKcmyk(0%, 1.7%, 45.1%, 31.4%)
CIE-LABlab(69.09, -9.93, 39.30)
CIE-LCHlch(69.09, 40.53, 104.19°)
OKLaboklab(73% -0.0281 0.0944)
OKLCHoklch(73% 0.098 106.6)
XYZxyz(34.5437, 39.4644, 16.8618)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC60 #6063AF
analogous
#AF8560 #AFAC60 #8AAF60
triadic
#AFAC60 #60AFAC #AC60AF
tetradic
#AFAC60 #60AF85 #6063AF #AF608A
square
#AFAC60 #60AF85 #6063AF #AF608A
split-complementary
#AFAC60 #608AAF #8560AF
monochromatic
#636132 #8C8946 #AFAC60 #C3C189 #D8D7B1

Accessibility & contrast

On white

2.36
#AFAC60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AFAC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC60
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC60#FFFFFF#000000##000000
##AFAC601.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75A
Deuteranopia (green-blind)
#B9AA63
Tritanopia (blue-blind)
#B9A39A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afac60;
/* rgb */ color: rgb(175, 172, 96);
/* oklch */ color: oklch(73.0% 0.098 106.6);
Tailwind
colors: {
  custom: {
    50: '#c8c48f',
    500: '#afac60',
    950: '#000000',
  },
}
SCSS
$custom: #afac60;
$custom-light: #c8c48f;
$custom-dark: #000000;
JSON
{
  "hex": "#afac60",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 96
  },
  "hsl": {
    "h": 57.722,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.73004,
    "c": 0.09847,
    "h": 106.6
  },
  "luminance": 0.39464
}

Semantic roles & 50–950 ramp

primary
#AFAC60
secondary
#A4A6C6
accent
#63C95F
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFAC60

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

Preview Lab → · Contrast checker → · Palette generator →

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