#AFBD58#AFBD58

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

Color values

HEX#AFBD58
RGBrgb(175, 189, 88)
HSLhsl(68, 43%, 54%)
HSVhsv(68, 53%, 74%)
CMYKcmyk(7.4%, 0%, 53.4%, 25.9%)
CIE-LABlab(73.68, -19.40, 48.72)
CIE-LCHlch(73.68, 52.44, 111.71°)
OKLaboklab(76.64% -0.0559 0.1143)
OKLCHoklch(76.64% 0.127 116)
XYZxyz(37.6388, 46.2142, 16.1680)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD58 #6658BD
analogous
#BD9958 #AFBD58 #7DBD58
triadic
#AFBD58 #58AFBD #BD58AF
tetradic
#AFBD58 #58BD99 #6658BD #BD587D
square
#AFBD58 #58BD99 #6658BD #BD587D
split-complementary
#AFBD58 #587DBD #9958BD
monochromatic
#666F2C #8E9B3D #AFBD58 #C4CE84 #D9E0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD58#FFFFFF#000000##000000
##AFBD581.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)
#C9B44E
Deuteranopia (green-blind)
#C7B65E
Tritanopia (blue-blind)
#B8B4A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd58;
/* rgb */ color: rgb(175, 189, 88);
/* oklch */ color: oklch(76.6% 0.127 116.0);
Tailwind
colors: {
  custom: {
    50: '#c9d08a',
    500: '#afbd58',
    950: '#000000',
  },
}
SCSS
$custom: #afbd58;
$custom-light: #c9d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd58",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 88
  },
  "hsl": {
    "h": 68.317,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76642,
    "c": 0.12725,
    "h": 116
  },
  "luminance": 0.46214
}

Semantic roles & 50–950 ramp

primary
#AFBD58
secondary
#A9A3CE
accent
#55D366
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBD58

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

Preview Lab → · Contrast checker → · Palette generator →

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