#AFB665#AFB665

#AFB665 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.105 H 113.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#AFB665
RGBrgb(175, 182, 101)
HSLhsl(65, 36%, 55%)
HSVhsv(65, 45%, 71%)
CMYKcmyk(3.8%, 0%, 44.5%, 28.6%)
CIE-LABlab(71.90, -14.60, 40.24)
CIE-LCHlch(71.90, 42.81, 109.94°)
OKLaboklab(75.27% -0.041 0.0968)
OKLCHoklch(75.27% 0.105 113)
XYZxyz(36.7566, 43.5100, 18.7714)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB665 #6C65B6
analogous
#B69465 #AFB665 #86B665
triadic
#AFB665 #65AFB6 #B665AF
tetradic
#AFB665 #65B694 #6C65B6 #B66586
square
#AFB665 #65B694 #6C65B6 #B66586
split-complementary
#AFB665 #6586B6 #9465B6
monochromatic
#686D34 #909647 #AFB665 #C5CA8F #DADDB8

Accessibility & contrast

On white

2.16
#AFB665 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#AFB665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB665
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB665#FFFFFF#000000##000000
##AFB6651.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5E
Deuteranopia (green-blind)
#C1B169
Tritanopia (blue-blind)
#B8AEA3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb665;
/* rgb */ color: rgb(175, 182, 101);
/* oklch */ color: oklch(75.3% 0.105 113.0);
Tailwind
colors: {
  custom: {
    50: '#c8cb92',
    500: '#afb665',
    950: '#000000',
  },
}
SCSS
$custom: #afb665;
$custom-light: #c8cb92;
$custom-dark: #000000;
JSON
{
  "hex": "#afb665",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 101
  },
  "hsl": {
    "h": 65.185,
    "s": 35.683,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75266,
    "c": 0.10512,
    "h": 113
  },
  "luminance": 0.43509
}

Semantic roles & 50–950 ramp

primary
#AFB665
secondary
#ADABCC
accent
#5CCC66
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB665

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

Preview Lab → · Contrast checker → · Palette generator →

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