#AFB565#AFB565

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

Color values

HEX#AFB565
RGBrgb(175, 181, 101)
HSLhsl(65, 35%, 55%)
HSVhsv(65, 44%, 71%)
CMYKcmyk(3.3%, 0%, 44.2%, 29%)
CIE-LABlab(71.62, -14.09, 39.90)
CIE-LCHlch(71.62, 42.31, 109.44°)
OKLaboklab(75.05% -0.0395 0.096)
OKLCHoklch(75.05% 0.104 112.4)
XYZxyz(36.5525, 43.1019, 18.7033)
Luminance0.4310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB565 #6B65B5
analogous
#B59365 #AFB565 #87B565
triadic
#AFB565 #65AFB5 #B565AF
tetradic
#AFB565 #65B593 #6B65B5 #B56587
square
#AFB565 #65B593 #6B65B5 #B56587
split-complementary
#AFB565 #6587B5 #9365B5
monochromatic
#686C34 #8F9548 #AFB565 #C4C98E #DADDB8

Accessibility & contrast

On white

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

On black

9.62
#AFB565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB565
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB565#FFFFFF#000000##000000
##AFB5651.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE5E
Deuteranopia (green-blind)
#C0B169
Tritanopia (blue-blind)
#B8ADA2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb565;
/* rgb */ color: rgb(175, 181, 101);
/* oklch */ color: oklch(75.0% 0.104 112.4);
Tailwind
colors: {
  custom: {
    50: '#c8cb92',
    500: '#afb565',
    950: '#000000',
  },
}
SCSS
$custom: #afb565;
$custom-light: #c8cb92;
$custom-dark: #000000;
JSON
{
  "hex": "#afb565",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 101
  },
  "hsl": {
    "h": 64.5,
    "s": 35.088,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75046,
    "c": 0.10386,
    "h": 112.4
  },
  "luminance": 0.43101
}

Semantic roles & 50–950 ramp

primary
#AFB565
secondary
#ADAACC
accent
#5DCB65
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB565

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

Preview Lab → · Contrast checker → · Palette generator →

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