#AFBD61#AFBD61

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

Color values

HEX#AFBD61
RGBrgb(175, 189, 97)
HSLhsl(69, 41%, 56%)
HSVhsv(69, 49%, 74%)
CMYKcmyk(7.4%, 0%, 48.7%, 25.9%)
CIE-LABlab(73.79, -18.56, 44.52)
CIE-LCHlch(73.79, 48.24, 112.62°)
OKLaboklab(76.76% -0.0526 0.106)
OKLCHoklch(76.76% 0.118 116.4)
XYZxyz(38.0349, 46.3726, 18.2541)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD61 #6F61BD
analogous
#BD9D61 #AFBD61 #81BD61
triadic
#AFBD61 #61AFBD #BD61AF
tetradic
#AFBD61 #61BD9D #6F61BD #BD6181
square
#AFBD61 #61BD9D #6F61BD #BD6181
split-complementary
#AFBD61 #6181BD #9D61BD
monochromatic
#697330 #919F42 #AFBD61 #C5CF8C #DBE1B7

Accessibility & contrast

On white

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

On black

10.27
#AFBD61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD61
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD61#FFFFFF#000000##000000
##AFBD611.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbd61;
/* rgb */ color: rgb(175, 189, 97);
/* oklch */ color: oklch(76.8% 0.118 116.4);
Tailwind
colors: {
  custom: {
    50: '#c8d090',
    500: '#afbd61',
    950: '#000000',
  },
}
SCSS
$custom: #afbd61;
$custom-light: #c8d090;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd61",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 97
  },
  "hsl": {
    "h": 69.13,
    "s": 41.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76757,
    "c": 0.11833,
    "h": 116.4
  },
  "luminance": 0.46372
}

Semantic roles & 50–950 ramp

primary
#AFBD61
secondary
#B0AAD0
accent
#57D169
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140D
muted
#82827D

Preview Lab

Preview with #AFBD61

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

Preview Lab → · Contrast checker → · Palette generator →

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