#AFAA63#AFAA63

#AFAA63 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.093 H 105.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFAA63
RGBrgb(175, 170, 99)
HSLhsl(56, 32%, 54%)
HSVhsv(56, 43%, 69%)
CMYKcmyk(0%, 2.9%, 43.4%, 31.4%)
CIE-LABlab(68.58, -8.57, 37.14)
CIE-LCHlch(68.58, 38.11, 103.00°)
OKLaboklab(72.62% -0.024 0.0897)
OKLCHoklch(72.62% 0.093 105)
XYZxyz(34.3067, 38.7652, 17.4772)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA63 #6368AF
analogous
#AF8463 #AFAA63 #8EAF63
triadic
#AFAA63 #63AFAA #AA63AF
tetradic
#AFAA63 #63AF84 #6368AF #AF638E
square
#AFAA63 #63AF84 #6368AF #AF638E
split-complementary
#AFAA63 #638EAF #8463AF
monochromatic
#646133 #8D8848 #AFAA63 #C4C08B #D8D6B4

Accessibility & contrast

On white

2.40
#AFAA63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#AFAA63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA63
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA63#FFFFFF#000000##000000
##AFAA631.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55D
Deuteranopia (green-blind)
#B7A966
Tritanopia (blue-blind)
#B9A299
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa63;
/* rgb */ color: rgb(175, 170, 99);
/* oklch */ color: oklch(72.6% 0.093 105.0);
Tailwind
colors: {
  custom: {
    50: '#c8c390',
    500: '#afaa63',
    950: '#000000',
  },
}
SCSS
$custom: #afaa63;
$custom-light: #c8c390;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa63",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 99
  },
  "hsl": {
    "h": 56.053,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.09286,
    "h": 105
  },
  "luminance": 0.38764
}

Semantic roles & 50–950 ramp

primary
#AFAA63
secondary
#A7A9C7
accent
#66C85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFAA63

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

Preview Lab → · Contrast checker → · Palette generator →

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