#AFBE36#AFBE36

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

Color values

HEX#AFBE36
RGBrgb(175, 190, 54)
HSLhsl(67, 56%, 48%)
HSVhsv(67, 72%, 75%)
CMYKcmyk(7.9%, 0%, 71.6%, 25.5%)
CIE-LABlab(73.68, -22.26, 62.99)
CIE-LCHlch(73.68, 66.81, 109.47°)
OKLaboklab(76.55% -0.0673 0.14)
OKLCHoklch(76.55% 0.155 115.7)
XYZxyz(36.7595, 46.2078, 10.4719)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE36 #4536BE
analogous
#BE8936 #AFBE36 #6BBE36
triadic
#AFBE36 #36AFBE #BE36AF
tetradic
#AFBE36 #36BE89 #4536BE #BE366B
square
#AFBE36 #36BE89 #4536BE #BE366B
split-complementary
#AFBE36 #366BBE #8936BE
monochromatic
#575F1B #838E28 #AFBE36 #C5D260 #D6DF8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE36#FFFFFF#000000##000000
##AFBE361.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)
#CBB41D
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe36;
/* rgb */ color: rgb(175, 190, 54);
/* oklch */ color: oklch(76.5% 0.155 115.7);
Tailwind
colors: {
  custom: {
    50: '#cad176',
    500: '#afbe36',
    950: '#000000',
  },
}
SCSS
$custom: #afbe36;
$custom-light: #cad176;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe36",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 54
  },
  "hsl": {
    "h": 66.618,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76547,
    "c": 0.15528,
    "h": 115.7
  },
  "luminance": 0.46207
}

Semantic roles & 50–950 ramp

primary
#AFBE36
secondary
#8D86CA
accent
#49DF59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBE36

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

Preview Lab → · Contrast checker → · Palette generator →

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