#AFBD4C#AFBD4C

#AFBD4C is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.138 H 115.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#AFBD4C
RGBrgb(175, 189, 76)
HSLhsl(67, 46%, 52%)
HSVhsv(67, 60%, 74%)
CMYKcmyk(7.4%, 0%, 59.8%, 25.9%)
CIE-LABlab(73.57, -20.38, 54.05)
CIE-LCHlch(73.57, 57.77, 110.66°)
OKLaboklab(76.51% -0.0598 0.1244)
OKLCHoklch(76.51% 0.138 115.7)
XYZxyz(37.1820, 46.0315, 13.7623)
Luminance0.4603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD4C #5A4CBD
analogous
#BD934C #AFBD4C #77BD4C
triadic
#AFBD4C #4CAFBD #BD4CAF
tetradic
#AFBD4C #4CBD93 #5A4CBD #BD4C77
square
#AFBD4C #4CBD93 #5A4CBD #BD4C77
split-complementary
#AFBD4C #4C77BD #934CBD
monochromatic
#606826 #899537 #AFBD4C #C3CD79 #D7DEA5

Accessibility & contrast

On white

2.06
#AFBD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#AFBD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD4C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD4C#FFFFFF#000000##000000
##AFBD4C1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43F
Deuteranopia (green-blind)
#C8B653
Tritanopia (blue-blind)
#B9B3A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd4c;
/* rgb */ color: rgb(175, 189, 76);
/* oklch */ color: oklch(76.5% 0.138 115.7);
Tailwind
colors: {
  custom: {
    50: '#c9d083',
    500: '#afbd4c',
    950: '#000000',
  },
}
SCSS
$custom: #afbd4c;
$custom-light: #c9d083;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd4c",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 76
  },
  "hsl": {
    "h": 67.434,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76509,
    "c": 0.13804,
    "h": 115.7
  },
  "luminance": 0.46031
}

Semantic roles & 50–950 ramp

primary
#AFBD4C
secondary
#A09ACB
accent
#52D662
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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