#AFBE50#AFBE50

#AFBE50 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.8% C 0.136 H 116.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#AFBE50
RGBrgb(175, 190, 80)
HSLhsl(68, 46%, 53%)
HSVhsv(68, 58%, 75%)
CMYKcmyk(7.9%, 0%, 57.9%, 25.5%)
CIE-LABlab(73.88, -20.57, 52.63)
CIE-LCHlch(73.88, 56.50, 111.35°)
OKLaboklab(76.77% -0.06 0.1218)
OKLCHoklch(76.77% 0.136 116.2)
XYZxyz(37.5413, 46.5205, 14.5896)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE50 #5F50BE
analogous
#BE9650 #AFBE50 #78BE50
triadic
#AFBE50 #50AFBE #BE50AF
tetradic
#AFBE50 #50BE96 #5F50BE #BE5078
square
#AFBE50 #50BE96 #5F50BE #BE5078
split-complementary
#AFBE50 #5078BE #9650BE
monochromatic
#626C28 #8B9839 #AFBE50 #C3CF7D #D8DFA9

Accessibility & contrast

On white

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

On black

10.30
#AFBE50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE50
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE50#FFFFFF#000000##000000
##AFBE501.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB544
Deuteranopia (green-blind)
#C9B657
Tritanopia (blue-blind)
#B9B4A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe50;
/* rgb */ color: rgb(175, 190, 80);
/* oklch */ color: oklch(76.8% 0.136 116.2);
Tailwind
colors: {
  custom: {
    50: '#c9d185',
    500: '#afbe50',
    950: '#000000',
  },
}
SCSS
$custom: #afbe50;
$custom-light: #c9d185;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe50",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 80
  },
  "hsl": {
    "h": 68.182,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76774,
    "c": 0.13579,
    "h": 116.2
  },
  "luminance": 0.4652
}

Semantic roles & 50–950 ramp

primary
#AFBE50
secondary
#A49DCD
accent
#52D564
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBE50

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

Preview Lab → · Contrast checker → · Palette generator →

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