#AFBD5E#AFBD5E

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

Color values

HEX#AFBD5E
RGBrgb(175, 189, 94)
HSLhsl(69, 42%, 55%)
HSVhsv(69, 50%, 74%)
CMYKcmyk(7.4%, 0%, 50.3%, 25.9%)
CIE-LABlab(73.75, -18.85, 45.94)
CIE-LCHlch(73.75, 49.65, 112.31°)
OKLaboklab(76.72% -0.0537 0.1088)
OKLCHoklch(76.72% 0.121 116.3)
XYZxyz(37.8977, 46.3177, 17.5313)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD5E #6C5EBD
analogous
#BD9B5E #AFBD5E #7FBD5E
triadic
#AFBD5E #5EAFBD #BD5EAF
tetradic
#AFBD5E #5EBD9B #6C5EBD #BD5E7F
square
#AFBD5E #5EBD9B #6C5EBD #BD5E7F
split-complementary
#AFBD5E #5E7FBD #9B5EBD
monochromatic
#68722F #909D40 #AFBD5E #C5CF89 #DAE1B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD5E#FFFFFF#000000##000000
##AFBD5E1.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)
#C8B555
Deuteranopia (green-blind)
#C7B663
Tritanopia (blue-blind)
#B8B4A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd5e;
/* rgb */ color: rgb(175, 189, 94);
/* oklch */ color: oklch(76.7% 0.121 116.3);
Tailwind
colors: {
  custom: {
    50: '#c9d08e',
    500: '#afbd5e',
    950: '#000000',
  },
}
SCSS
$custom: #afbd5e;
$custom-light: #c9d08e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd5e",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 94
  },
  "hsl": {
    "h": 68.842,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76717,
    "c": 0.12138,
    "h": 116.3
  },
  "luminance": 0.46317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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