#AFBE43#AFBE43

#AFBE43 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.146 H 115.9°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#AFBE43
RGBrgb(175, 190, 67)
HSLhsl(67, 49%, 50%)
HSVhsv(67, 65%, 75%)
CMYKcmyk(7.9%, 0%, 64.7%, 25.5%)
CIE-LABlab(73.77, -21.51, 58.09)
CIE-LCHlch(73.77, 61.95, 110.31°)
OKLaboklab(76.65% -0.0639 0.1317)
OKLCHoklch(76.65% 0.146 115.9)
XYZxyz(37.1066, 46.3466, 12.3001)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE43 #5243BE
analogous
#BE8F43 #AFBE43 #71BE43
triadic
#AFBE43 #43AFBE #BE43AF
tetradic
#AFBE43 #43BE8F #5243BE #BE4371
square
#AFBE43 #43BE8F #5243BE #BE4371
split-complementary
#AFBE43 #4371BE #8F43BE
monochromatic
#5C6423 #869132 #AFBE43 #C2CE70 #D6DD9E

Accessibility & contrast

On white

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

On black

10.27
#AFBE43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE43
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE43#FFFFFF#000000##000000
##AFBE431.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB533
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe43;
/* rgb */ color: rgb(175, 190, 67);
/* oklch */ color: oklch(76.6% 0.146 115.9);
Tailwind
colors: {
  custom: {
    50: '#cad17d',
    500: '#afbe43',
    950: '#000000',
  },
}
SCSS
$custom: #afbe43;
$custom-light: #cad17d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe43",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 67
  },
  "hsl": {
    "h": 67.317,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76648,
    "c": 0.1464,
    "h": 115.9
  },
  "luminance": 0.46346
}

Semantic roles & 50–950 ramp

primary
#AFBE43
secondary
#9A93CA
accent
#50D860
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE43

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

Preview Lab → · Contrast checker → · Palette generator →

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