#AFBD5C#AFBD5C

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

Color values

HEX#AFBD5C
RGBrgb(175, 189, 92)
HSLhsl(69, 42%, 55%)
HSVhsv(69, 51%, 74%)
CMYKcmyk(7.4%, 0%, 51.3%, 25.9%)
CIE-LABlab(73.73, -19.04, 46.87)
CIE-LCHlch(73.73, 50.59, 112.10°)
OKLaboklab(76.69% -0.0544 0.1107)
OKLCHoklch(76.69% 0.123 116.2)
XYZxyz(37.8091, 46.2823, 17.0647)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD5C #6A5CBD
analogous
#BD9B5C #AFBD5C #7EBD5C
triadic
#AFBD5C #5CAFBD #BD5CAF
tetradic
#AFBD5C #5CBD9B #6A5CBD #BD5C7E
square
#AFBD5C #5CBD9B #6A5CBD #BD5C7E
split-complementary
#AFBD5C #5C7EBD #9B5CBD
monochromatic
#67712E #8F9C3F #AFBD5C #C4CF88 #DAE0B3

Accessibility & contrast

On white

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

On black

10.26
#AFBD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD5C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD5C#FFFFFF#000000##000000
##AFBD5C1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbd5c;
/* rgb */ color: rgb(175, 189, 92);
/* oklch */ color: oklch(76.7% 0.123 116.2);
Tailwind
colors: {
  custom: {
    50: '#c9d08d',
    500: '#afbd5c',
    950: '#000000',
  },
}
SCSS
$custom: #afbd5c;
$custom-light: #c9d08d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd5c",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 92
  },
  "hsl": {
    "h": 68.66,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76691,
    "c": 0.12336,
    "h": 116.2
  },
  "luminance": 0.46282
}

Semantic roles & 50–950 ramp

primary
#AFBD5C
secondary
#ACA6CF
accent
#56D268
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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