#AFB563#AFB563

#AFB563 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.106 H 112.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#AFB563
RGBrgb(175, 181, 99)
HSLhsl(64, 36%, 55%)
HSVhsv(64, 45%, 71%)
CMYKcmyk(3.3%, 0%, 45.3%, 29%)
CIE-LABlab(71.60, -14.29, 40.87)
CIE-LCHlch(71.60, 43.30, 109.27°)
OKLaboklab(75.02% -0.0403 0.0981)
OKLCHoklch(75.02% 0.106 112.3)
XYZxyz(36.4557, 43.0632, 18.1935)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB563 #6963B5
analogous
#B59263 #AFB563 #86B563
triadic
#AFB563 #63AFB5 #B563AF
tetradic
#AFB563 #63B592 #6963B5 #B56386
square
#AFB563 #63B592 #6963B5 #B56386
split-complementary
#AFB563 #6386B5 #9263B5
monochromatic
#676B33 #8F9446 #AFB563 #C4C98D #DADCB6

Accessibility & contrast

On white

2.18
#AFB563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#AFB563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB563
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB563#FFFFFF#000000##000000
##AFB5631.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE5C
Deuteranopia (green-blind)
#C0B067
Tritanopia (blue-blind)
#B8ACA2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb563;
/* rgb */ color: rgb(175, 181, 99);
/* oklch */ color: oklch(75.0% 0.106 112.3);
Tailwind
colors: {
  custom: {
    50: '#c8cb91',
    500: '#afb563',
    950: '#000000',
  },
}
SCSS
$custom: #afb563;
$custom-light: #c8cb91;
$custom-dark: #000000;
JSON
{
  "hex": "#afb563",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 99
  },
  "hsl": {
    "h": 64.39,
    "s": 35.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.10604,
    "h": 112.3
  },
  "luminance": 0.43063
}

Semantic roles & 50–950 ramp

primary
#AFB563
secondary
#ABA9CB
accent
#5CCC64
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB563

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

Preview Lab → · Contrast checker → · Palette generator →

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