#AFBD4D#AFBD4D

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

Color values

HEX#AFBD4D
RGBrgb(175, 189, 77)
HSLhsl(68, 46%, 52%)
HSVhsv(68, 59%, 74%)
CMYKcmyk(7.4%, 0%, 59.3%, 25.9%)
CIE-LABlab(73.58, -20.30, 53.62)
CIE-LCHlch(73.58, 57.34, 110.74°)
OKLaboklab(76.52% -0.0595 0.1236)
OKLCHoklch(76.52% 0.137 115.7)
XYZxyz(37.2171, 46.0455, 13.9468)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD4D #5B4DBD
analogous
#BD934D #AFBD4D #77BD4D
triadic
#AFBD4D #4DAFBD #BD4DAF
tetradic
#AFBD4D #4DBD93 #5B4DBD #BD4D77
square
#AFBD4D #4DBD93 #5B4DBD #BD4D77
split-complementary
#AFBD4D #4D77BD #934DBD
monochromatic
#616927 #8A9537 #AFBD4D #C3CE7A #D7DEA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD4D#FFFFFF#000000##000000
##AFBD4D1.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)
#C9B440
Deuteranopia (green-blind)
#C8B654
Tritanopia (blue-blind)
#B9B3A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd4d;
/* rgb */ color: rgb(175, 189, 77);
/* oklch */ color: oklch(76.5% 0.137 115.7);
Tailwind
colors: {
  custom: {
    50: '#c9d083',
    500: '#afbd4d',
    950: '#000000',
  },
}
SCSS
$custom: #afbd4d;
$custom-light: #c9d083;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd4d",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 77
  },
  "hsl": {
    "h": 67.5,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76519,
    "c": 0.13718,
    "h": 115.7
  },
  "luminance": 0.46045
}

Semantic roles & 50–950 ramp

primary
#AFBD4D
secondary
#A19ACB
accent
#52D663
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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