#AFBE44#AFBE44

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

Color values

HEX#AFBE44
RGBrgb(175, 190, 68)
HSLhsl(67, 48%, 51%)
HSVhsv(67, 64%, 75%)
CMYKcmyk(7.9%, 0%, 64.2%, 25.5%)
CIE-LABlab(73.78, -21.44, 57.69)
CIE-LCHlch(73.78, 61.55, 110.39°)
OKLaboklab(76.66% -0.0636 0.131)
OKLCHoklch(76.66% 0.146 115.9)
XYZxyz(37.1369, 46.3587, 12.4595)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE44 #5344BE
analogous
#BE9044 #AFBE44 #72BE44
triadic
#AFBE44 #44AFBE #BE44AF
tetradic
#AFBE44 #44BE90 #5344BE #BE4472
square
#AFBE44 #44BE90 #5344BE #BE4472
split-complementary
#AFBE44 #4472BE #9044BE
monochromatic
#5D6523 #869233 #AFBE44 #C2CE71 #D6DE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBE44#FFFFFF#000000##000000
##AFBE441.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)
#CBB534
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe44;
/* rgb */ color: rgb(175, 190, 68);
/* oklch */ color: oklch(76.7% 0.146 115.9);
Tailwind
colors: {
  custom: {
    50: '#cad17e',
    500: '#afbe44',
    950: '#000000',
  },
}
SCSS
$custom: #afbe44;
$custom-light: #cad17e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe44",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 68
  },
  "hsl": {
    "h": 67.377,
    "s": 48.413,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76657,
    "c": 0.14564,
    "h": 115.9
  },
  "luminance": 0.46358
}

Semantic roles & 50–950 ramp

primary
#AFBE44
secondary
#9A94CA
accent
#50D861
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE44

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

Preview Lab → · Contrast checker → · Palette generator →

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