#AFBE56#AFBE56

#AFBE56 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.8% C 0.130 H 116.4°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#AFBE56
RGBrgb(175, 190, 86)
HSLhsl(69, 44%, 54%)
HSVhsv(69, 55%, 75%)
CMYKcmyk(7.9%, 0%, 54.7%, 25.5%)
CIE-LABlab(73.94, -20.07, 49.95)
CIE-LCHlch(73.94, 53.83, 111.89°)
OKLaboklab(76.84% -0.058 0.1168)
OKLCHoklch(76.84% 0.13 116.4)
XYZxyz(37.7730, 46.6132, 15.8097)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE56 #6556BE
analogous
#BE9956 #AFBE56 #7BBE56
triadic
#AFBE56 #56AFBE #BE56AF
tetradic
#AFBE56 #56BE99 #6556BE #BE567B
square
#AFBE56 #56BE99 #6556BE #BE567B
split-complementary
#AFBE56 #567BBE #9956BE
monochromatic
#656F2B #8D9B3C #AFBE56 #C4CF82 #D9E0AE

Accessibility & contrast

On white

2.03
#AFBE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#AFBE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE56
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE56#FFFFFF#000000##000000
##AFBE561.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54C
Deuteranopia (green-blind)
#C8B75C
Tritanopia (blue-blind)
#B8B5A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe56;
/* rgb */ color: rgb(175, 190, 86);
/* oklch */ color: oklch(76.8% 0.130 116.4);
Tailwind
colors: {
  custom: {
    50: '#c9d189',
    500: '#afbe56',
    950: '#000000',
  },
}
SCSS
$custom: #afbe56;
$custom-light: #c9d189;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe56",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 86
  },
  "hsl": {
    "h": 68.654,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76841,
    "c": 0.13037,
    "h": 116.4
  },
  "luminance": 0.46613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBE56

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

Preview Lab → · Contrast checker → · Palette generator →

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