#AFBE53#AFBE53

#AFBE53 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.8% C 0.133 H 116.3°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#AFBE53
RGBrgb(175, 190, 83)
HSLhsl(68, 45%, 54%)
HSVhsv(68, 56%, 75%)
CMYKcmyk(7.9%, 0%, 56.3%, 25.5%)
CIE-LABlab(73.91, -20.33, 51.30)
CIE-LCHlch(73.91, 55.18, 111.61°)
OKLaboklab(76.81% -0.059 0.1194)
OKLCHoklch(76.81% 0.133 116.3)
XYZxyz(37.6546, 46.5659, 15.1864)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE53 #6253BE
analogous
#BE9753 #AFBE53 #79BE53
triadic
#AFBE53 #53AFBE #BE53AF
tetradic
#AFBE53 #53BE97 #6253BE #BE5379
square
#AFBE53 #53BE97 #6253BE #BE5379
split-complementary
#AFBE53 #5379BE #9753BE
monochromatic
#646D29 #8C9A3A #AFBE53 #C4CF7F #D8E0AC

Accessibility & contrast

On white

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

On black

10.31
#AFBE53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE53
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE53#FFFFFF#000000##000000
##AFBE531.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB548
Deuteranopia (green-blind)
#C9B659
Tritanopia (blue-blind)
#B9B4A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe53;
/* rgb */ color: rgb(175, 190, 83);
/* oklch */ color: oklch(76.8% 0.133 116.3);
Tailwind
colors: {
  custom: {
    50: '#c9d187',
    500: '#afbe53',
    950: '#000000',
  },
}
SCSS
$custom: #afbe53;
$custom-light: #c9d187;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe53",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 83
  },
  "hsl": {
    "h": 68.411,
    "s": 45.148,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76807,
    "c": 0.13312,
    "h": 116.3
  },
  "luminance": 0.46565
}

Semantic roles & 50–950 ramp

primary
#AFBE53
secondary
#A69FCD
accent
#53D565
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBE53

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

Preview Lab → · Contrast checker → · Palette generator →

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