#AFBD4E#AFBD4E

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

Color values

HEX#AFBD4E
RGBrgb(175, 189, 78)
HSLhsl(68, 46%, 52%)
HSVhsv(68, 59%, 74%)
CMYKcmyk(7.4%, 0%, 58.7%, 25.9%)
CIE-LABlab(73.58, -20.23, 53.19)
CIE-LCHlch(73.58, 56.91, 110.82°)
OKLaboklab(76.53% -0.0592 0.1228)
OKLCHoklch(76.53% 0.136 115.7)
XYZxyz(37.2527, 46.0597, 14.1342)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD4E #5C4EBD
analogous
#BD944E #AFBD4E #77BD4E
triadic
#AFBD4E #4EAFBD #BD4EAF
tetradic
#AFBD4E #4EBD94 #5C4EBD #BD4E77
square
#AFBD4E #4EBD94 #5C4EBD #BD4E77
split-complementary
#AFBD4E #4E77BD #944EBD
monochromatic
#616927 #8A9638 #AFBD4E #C3CE7B #D7DEA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD4E#FFFFFF#000000##000000
##AFBD4E1.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)
#C9B442
Deuteranopia (green-blind)
#C8B655
Tritanopia (blue-blind)
#B9B3A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd4e;
/* rgb */ color: rgb(175, 189, 78);
/* oklch */ color: oklch(76.5% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#c9d084',
    500: '#afbd4e',
    950: '#000000',
  },
}
SCSS
$custom: #afbd4e;
$custom-light: #c9d084;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd4e",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 78
  },
  "hsl": {
    "h": 67.568,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76529,
    "c": 0.13633,
    "h": 115.7
  },
  "luminance": 0.46059
}

Semantic roles & 50–950 ramp

primary
#AFBD4E
secondary
#A19BCC
accent
#52D563
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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