#AFBE33#AFBE33

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

Color values

HEX#AFBE33
RGBrgb(175, 190, 51)
HSLhsl(66, 58%, 47%)
HSVhsv(66, 73%, 75%)
CMYKcmyk(7.9%, 0%, 73.2%, 25.5%)
CIE-LABlab(73.66, -22.41, 64.02)
CIE-LCHlch(73.66, 67.83, 109.29°)
OKLaboklab(76.53% -0.0679 0.1416)
OKLCHoklch(76.53% 0.157 115.6)
XYZxyz(36.6912, 46.1805, 10.1122)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE33 #4233BE
analogous
#BE8833 #AFBE33 #69BE33
triadic
#AFBE33 #33AFBE #BE33AF
tetradic
#AFBE33 #33BE88 #4233BE #BE3369
square
#AFBE33 #33BE88 #4233BE #BE3369
split-complementary
#AFBE33 #3369BE #8833BE
monochromatic
#565E19 #838E26 #AFBE33 #C6D35B #D7E08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE33#FFFFFF#000000##000000
##AFBE331.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)
#CBB417
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#BAB3A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe33;
/* rgb */ color: rgb(175, 190, 51);
/* oklch */ color: oklch(76.5% 0.157 115.6);
Tailwind
colors: {
  custom: {
    50: '#cad175',
    500: '#afbe33',
    950: '#000000',
  },
}
SCSS
$custom: #afbe33;
$custom-light: #cad175;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe33",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 51
  },
  "hsl": {
    "h": 66.475,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76527,
    "c": 0.15708,
    "h": 115.6
  },
  "luminance": 0.4618
}

Semantic roles & 50–950 ramp

primary
#AFBE33
secondary
#8A83CA
accent
#47E158
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBE33

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

Preview Lab → · Contrast checker → · Palette generator →

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