#AFB668#AFB668

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

Color values

HEX#AFB668
RGBrgb(175, 182, 104)
HSLhsl(65, 35%, 56%)
HSVhsv(65, 43%, 71%)
CMYKcmyk(3.8%, 0%, 42.9%, 28.6%)
CIE-LABlab(71.94, -14.28, 38.77)
CIE-LCHlch(71.94, 41.32, 110.22°)
OKLaboklab(75.31% -0.0398 0.0937)
OKLCHoklch(75.31% 0.102 113)
XYZxyz(36.9063, 43.5699, 19.5596)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB668 #6F68B6
analogous
#B69668 #AFB668 #88B668
triadic
#AFB668 #68AFB6 #B668AF
tetradic
#AFB668 #68B696 #6F68B6 #B66888
square
#AFB668 #68B696 #6F68B6 #B66888
split-complementary
#AFB668 #6888B6 #9668B6
monochromatic
#696E35 #919849 #AFB668 #C5CA91 #DBDEBB

Accessibility & contrast

On white

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

On black

9.71
#AFB668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB668
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB668#FFFFFF#000000##000000
##AFB6681.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb668;
/* rgb */ color: rgb(175, 182, 104);
/* oklch */ color: oklch(75.3% 0.102 113.0);
Tailwind
colors: {
  custom: {
    50: '#c8cb94',
    500: '#afb668',
    950: '#000000',
  },
}
SCSS
$custom: #afb668;
$custom-light: #c8cb94;
$custom-dark: #000000;
JSON
{
  "hex": "#afb668",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 104
  },
  "hsl": {
    "h": 65.385,
    "s": 34.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75311,
    "c": 0.10182,
    "h": 113
  },
  "luminance": 0.43569
}

Semantic roles & 50–950 ramp

primary
#AFB668
secondary
#B0ADCD
accent
#5DCB67
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB668

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

Preview Lab → · Contrast checker → · Palette generator →

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