#AFB663#AFB663

#AFB663 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.107 H 112.9°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#AFB663
RGBrgb(175, 182, 99)
HSLhsl(65, 36%, 55%)
HSVhsv(65, 46%, 71%)
CMYKcmyk(3.8%, 0%, 45.6%, 28.6%)
CIE-LABlab(71.87, -14.81, 41.21)
CIE-LCHlch(71.87, 43.79, 109.76°)
OKLaboklab(75.24% -0.0418 0.0988)
OKLCHoklch(75.24% 0.107 112.9)
XYZxyz(36.6598, 43.4713, 18.2616)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB663 #6A63B6
analogous
#B69363 #AFB663 #86B663
triadic
#AFB663 #63AFB6 #B663AF
tetradic
#AFB663 #63B693 #6A63B6 #B66386
square
#AFB663 #63B693 #6A63B6 #B66386
split-complementary
#AFB663 #6386B6 #9363B6
monochromatic
#676C33 #8F9646 #AFB663 #C4CA8D #DADDB6

Accessibility & contrast

On white

2.17
#AFB663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#AFB663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB663
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB663#FFFFFF#000000##000000
##AFB6631.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5C
Deuteranopia (green-blind)
#C1B167
Tritanopia (blue-blind)
#B8ADA2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb663;
/* rgb */ color: rgb(175, 182, 99);
/* oklch */ color: oklch(75.2% 0.107 112.9);
Tailwind
colors: {
  custom: {
    50: '#c8cb91',
    500: '#afb663',
    950: '#000000',
  },
}
SCSS
$custom: #afb663;
$custom-light: #c8cb91;
$custom-dark: #000000;
JSON
{
  "hex": "#afb663",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 99
  },
  "hsl": {
    "h": 65.06,
    "s": 36.245,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75237,
    "c": 0.10729,
    "h": 112.9
  },
  "luminance": 0.43471
}

Semantic roles & 50–950 ramp

primary
#AFB663
secondary
#ACA9CC
accent
#5CCC65
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB663

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

Preview Lab → · Contrast checker → · Palette generator →

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