#AFBD5F#AFBD5F

#AFBD5F is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.120 H 116.3°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#AFBD5F
RGBrgb(175, 189, 95)
HSLhsl(69, 42%, 56%)
HSVhsv(69, 50%, 74%)
CMYKcmyk(7.4%, 0%, 49.7%, 25.9%)
CIE-LABlab(73.76, -18.75, 45.47)
CIE-LCHlch(73.76, 49.18, 112.41°)
OKLaboklab(76.73% -0.0533 0.1079)
OKLCHoklch(76.73% 0.12 116.3)
XYZxyz(37.9428, 46.3358, 17.7691)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD5F #6D5FBD
analogous
#BD9C5F #AFBD5F #80BD5F
triadic
#AFBD5F #5FAFBD #BD5FAF
tetradic
#AFBD5F #5FBD9C #6D5FBD #BD5F80
square
#AFBD5F #5FBD9C #6D5FBD #BD5F80
split-complementary
#AFBD5F #5F80BD #9C5FBD
monochromatic
#68722F #909E41 #AFBD5F #C5CF8A #DAE1B6

Accessibility & contrast

On white

2.05
#AFBD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#AFBD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD5F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD5F#FFFFFF#000000##000000
##AFBD5F1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B557
Deuteranopia (green-blind)
#C7B664
Tritanopia (blue-blind)
#B8B4A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd5f;
/* rgb */ color: rgb(175, 189, 95);
/* oklch */ color: oklch(76.7% 0.120 116.3);
Tailwind
colors: {
  custom: {
    50: '#c8d08f',
    500: '#afbd5f',
    950: '#000000',
  },
}
SCSS
$custom: #afbd5f;
$custom-light: #c8d08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd5f",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 95
  },
  "hsl": {
    "h": 68.936,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7673,
    "c": 0.12037,
    "h": 116.3
  },
  "luminance": 0.46335
}

Semantic roles & 50–950 ramp

primary
#AFBD5F
secondary
#AEA8CF
accent
#56D169
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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