#AFBD57#AFBD57

#AFBD57 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.6% C 0.128 H 116.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#AFBD57
RGBrgb(175, 189, 87)
HSLhsl(68, 44%, 54%)
HSVhsv(68, 54%, 74%)
CMYKcmyk(7.4%, 0%, 54%, 25.9%)
CIE-LABlab(73.67, -19.49, 49.18)
CIE-LCHlch(73.67, 52.90, 111.62°)
OKLaboklab(76.63% -0.0562 0.1152)
OKLCHoklch(76.63% 0.128 116)
XYZxyz(37.5977, 46.1977, 15.9514)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD57 #6557BD
analogous
#BD9857 #AFBD57 #7CBD57
triadic
#AFBD57 #57AFBD #BD57AF
tetradic
#AFBD57 #57BD98 #6557BD #BD577C
square
#AFBD57 #57BD98 #6557BD #BD577C
split-complementary
#AFBD57 #577CBD #9857BD
monochromatic
#656E2B #8D9A3D #AFBD57 #C4CE83 #D9E0AF

Accessibility & contrast

On white

2.05
#AFBD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#AFBD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD57
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD57#FFFFFF#000000##000000
##AFBD571.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B44D
Deuteranopia (green-blind)
#C7B65D
Tritanopia (blue-blind)
#B8B4A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd57;
/* rgb */ color: rgb(175, 189, 87);
/* oklch */ color: oklch(76.6% 0.128 116.0);
Tailwind
colors: {
  custom: {
    50: '#c9d089',
    500: '#afbd57',
    950: '#000000',
  },
}
SCSS
$custom: #afbd57;
$custom-light: #c9d089;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd57",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 87
  },
  "hsl": {
    "h": 68.235,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7663,
    "c": 0.12819,
    "h": 116
  },
  "luminance": 0.46197
}

Semantic roles & 50–950 ramp

primary
#AFBD57
secondary
#A8A2CE
accent
#54D366
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBD57

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

Preview Lab → · Contrast checker → · Palette generator →

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