#AFAC63#AFAC63

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

Color values

HEX#AFAC63
RGBrgb(175, 172, 99)
HSLhsl(58, 32%, 54%)
HSVhsv(58, 43%, 69%)
CMYKcmyk(0%, 1.7%, 43.4%, 31.4%)
CIE-LABlab(69.13, -9.62, 37.82)
CIE-LCHlch(69.13, 39.02, 104.28°)
OKLaboklab(73.05% -0.027 0.0913)
OKLCHoklch(73.05% 0.095 106.5)
XYZxyz(34.6845, 39.5207, 17.6031)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC63 #6366AF
analogous
#AF8663 #AFAC63 #8CAF63
triadic
#AFAC63 #63AFAC #AC63AF
tetradic
#AFAC63 #63AF86 #6366AF #AF638C
square
#AFAC63 #63AF86 #6366AF #AF638C
split-complementary
#AFAC63 #638CAF #8663AF
monochromatic
#646233 #8D8A48 #AFAC63 #C4C28B #D8D7B4

Accessibility & contrast

On white

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

On black

8.90
#AFAC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC63
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC63#FFFFFF#000000##000000
##AFAC631.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A75D
Deuteranopia (green-blind)
#B9AA66
Tritanopia (blue-blind)
#B9A49A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afac63;
/* rgb */ color: rgb(175, 172, 99);
/* oklch */ color: oklch(73.0% 0.095 106.5);
Tailwind
colors: {
  custom: {
    50: '#c8c491',
    500: '#afac63',
    950: '#000000',
  },
}
SCSS
$custom: #afac63;
$custom-light: #c8c491;
$custom-dark: #000000;
JSON
{
  "hex": "#afac63",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 99
  },
  "hsl": {
    "h": 57.632,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.73049,
    "c": 0.09516,
    "h": 106.5
  },
  "luminance": 0.3952
}

Semantic roles & 50–950 ramp

primary
#AFAC63
secondary
#A7A8C7
accent
#64C85F
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFAC63

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

Preview Lab → · Contrast checker → · Palette generator →

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