#AFBE49#AFBE49

#AFBE49 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.142 H 116.0°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AFBE49
RGBrgb(175, 190, 73)
HSLhsl(68, 47%, 52%)
HSVhsv(68, 62%, 75%)
CMYKcmyk(7.9%, 0%, 61.6%, 25.5%)
CIE-LABlab(73.82, -21.10, 55.63)
CIE-LCHlch(73.82, 59.50, 110.77°)
OKLaboklab(76.7% -0.0622 0.1274)
OKLCHoklch(76.7% 0.142 116)
XYZxyz(37.2960, 46.4224, 13.2977)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE49 #5849BE
analogous
#BE9349 #AFBE49 #75BE49
triadic
#AFBE49 #49AFBE #BE49AF
tetradic
#AFBE49 #49BE93 #5849BE #BE4975
square
#AFBE49 #49BE93 #5849BE #BE4975
split-complementary
#AFBE49 #4975BE #9349BE
monochromatic
#5F6825 #889535 #AFBE49 #C3CE76 #D7DEA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE49#FFFFFF#000000##000000
##AFBE491.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)
#CAB53B
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#B9B4A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe49;
/* rgb */ color: rgb(175, 190, 73);
/* oklch */ color: oklch(76.7% 0.142 116.0);
Tailwind
colors: {
  custom: {
    50: '#c9d181',
    500: '#afbe49',
    950: '#000000',
  },
}
SCSS
$custom: #afbe49;
$custom-light: #c9d181;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe49",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 73
  },
  "hsl": {
    "h": 67.692,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76703,
    "c": 0.14171,
    "h": 116
  },
  "luminance": 0.46422
}

Semantic roles & 50–950 ramp

primary
#AFBE49
secondary
#9E98CB
accent
#51D762
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFBE49

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

Preview Lab → · Contrast checker → · Palette generator →

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