#AFBD5D#AFBD5D

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

Color values

HEX#AFBD5D
RGBrgb(175, 189, 93)
HSLhsl(69, 42%, 55%)
HSVhsv(69, 51%, 74%)
CMYKcmyk(7.4%, 0%, 50.8%, 25.9%)
CIE-LABlab(73.74, -18.94, 46.41)
CIE-LCHlch(73.74, 50.12, 112.20°)
OKLaboklab(76.7% -0.0541 0.1098)
OKLCHoklch(76.7% 0.122 116.2)
XYZxyz(37.8531, 46.2999, 17.2965)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD5D #6B5DBD
analogous
#BD9B5D #AFBD5D #7FBD5D
triadic
#AFBD5D #5DAFBD #BD5DAF
tetradic
#AFBD5D #5DBD9B #6B5DBD #BD5D7F
square
#AFBD5D #5DBD9B #6B5DBD #BD5D7F
split-complementary
#AFBD5D #5D7FBD #9B5DBD
monochromatic
#68712E #8F9D40 #AFBD5D #C4CF88 #DAE0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD5D#FFFFFF#000000##000000
##AFBD5D1.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)
#C8B554
Deuteranopia (green-blind)
#C7B662
Tritanopia (blue-blind)
#B8B4A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd5d;
/* rgb */ color: rgb(175, 189, 93);
/* oklch */ color: oklch(76.7% 0.122 116.2);
Tailwind
colors: {
  custom: {
    50: '#c9d08d',
    500: '#afbd5d',
    950: '#000000',
  },
}
SCSS
$custom: #afbd5d;
$custom-light: #c9d08d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd5d",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 93
  },
  "hsl": {
    "h": 68.75,
    "s": 42.105,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76704,
    "c": 0.12237,
    "h": 116.2
  },
  "luminance": 0.46299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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