#AFBD62#AFBD62

#AFBD62 is a light, moderate yellow. Relative luminance 0.464; OKLCH L 76.8% C 0.117 H 116.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AFBD62
RGBrgb(175, 189, 98)
HSLhsl(69, 41%, 56%)
HSVhsv(69, 48%, 74%)
CMYKcmyk(7.4%, 0%, 48.1%, 25.9%)
CIE-LABlab(73.80, -18.46, 44.05)
CIE-LCHlch(73.80, 47.76, 112.73°)
OKLaboklab(76.77% -0.0522 0.105)
OKLCHoklch(76.77% 0.117 116.4)
XYZxyz(38.0818, 46.3914, 18.5012)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD62 #7062BD
analogous
#BD9E62 #AFBD62 #82BD62
triadic
#AFBD62 #62AFBD #BD62AF
tetradic
#AFBD62 #62BD9E #7062BD #BD6282
square
#AFBD62 #62BD9E #7062BD #BD6282
split-complementary
#AFBD62 #6282BD #9E62BD
monochromatic
#6A7431 #919F43 #AFBD62 #C5CF8D #DBE1B8

Accessibility & contrast

On white

2.04
#AFBD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#AFBD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD62
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD62#FFFFFF#000000##000000
##AFBD621.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#C6B667
Tritanopia (blue-blind)
#B8B4A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd62;
/* rgb */ color: rgb(175, 189, 98);
/* oklch */ color: oklch(76.8% 0.117 116.4);
Tailwind
colors: {
  custom: {
    50: '#c8d091',
    500: '#afbd62',
    950: '#000000',
  },
}
SCSS
$custom: #afbd62;
$custom-light: #c8d091;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd62",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 98
  },
  "hsl": {
    "h": 69.231,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7677,
    "c": 0.1173,
    "h": 116.4
  },
  "luminance": 0.46391
}

Semantic roles & 50–950 ramp

primary
#AFBD62
secondary
#B0ABD0
accent
#57D16A
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBD62

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

Preview Lab → · Contrast checker → · Palette generator →

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