#AFBE32#AFBE32

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

Color values

HEX#AFBE32
RGBrgb(175, 190, 50)
HSLhsl(66, 58%, 47%)
HSVhsv(66, 74%, 75%)
CMYKcmyk(7.9%, 0%, 73.7%, 25.5%)
CIE-LABlab(73.66, -22.46, 64.35)
CIE-LCHlch(73.66, 68.16, 109.24°)
OKLaboklab(76.52% -0.0682 0.1422)
OKLCHoklch(76.52% 0.158 115.6)
XYZxyz(36.6694, 46.1717, 9.9973)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE32 #4132BE
analogous
#BE8732 #AFBE32 #69BE32
triadic
#AFBE32 #32AFBE #BE32AF
tetradic
#AFBE32 #32BE87 #4132BE #BE3269
square
#AFBE32 #32BE87 #4132BE #BE3269
split-complementary
#AFBE32 #3269BE #8732BE
monochromatic
#565D19 #828E25 #AFBE32 #C6D35A #D7E08A

Accessibility & contrast

On white

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

On black

10.23
#AFBE32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE32
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE32#FFFFFF#000000##000000
##AFBE321.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB414
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#BAB3A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe32;
/* rgb */ color: rgb(175, 190, 50);
/* oklch */ color: oklch(76.5% 0.158 115.6);
Tailwind
colors: {
  custom: {
    50: '#cad174',
    500: '#afbe32',
    950: '#000000',
  },
}
SCSS
$custom: #afbe32;
$custom-light: #cad174;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe32",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 50
  },
  "hsl": {
    "h": 66.429,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76521,
    "c": 0.15765,
    "h": 115.6
  },
  "luminance": 0.46171
}

Semantic roles & 50–950 ramp

primary
#AFBE32
secondary
#8982CA
accent
#46E257
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBE32

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

Preview Lab → · Contrast checker → · Palette generator →

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