#AFBE62#AFBE62

#AFBE62 is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.119 H 116.9°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#AFBE62
RGBrgb(175, 190, 98)
HSLhsl(70, 41%, 56%)
HSVhsv(70, 48%, 75%)
CMYKcmyk(7.9%, 0%, 48.4%, 25.5%)
CIE-LABlab(74.08, -18.96, 44.39)
CIE-LCHlch(74.08, 48.27, 113.13°)
OKLaboklab(76.99% -0.0537 0.1058)
OKLCHoklch(76.99% 0.119 116.9)
XYZxyz(38.2977, 46.8231, 18.5731)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE62 #7162BE
analogous
#BE9F62 #AFBE62 #81BE62
triadic
#AFBE62 #62AFBE #BE62AF
tetradic
#AFBE62 #62BE9F #7162BE #BE6281
square
#AFBE62 #62BE9F #7162BE #BE6281
split-complementary
#AFBE62 #6281BE #9F62BE
monochromatic
#6A7530 #91A042 #AFBE62 #C5D08D #DBE2B9

Accessibility & contrast

On white

2.03
#AFBE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#AFBE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE62
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE62#FFFFFF#000000##000000
##AFBE621.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65A
Deuteranopia (green-blind)
#C7B767
Tritanopia (blue-blind)
#B8B5A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe62;
/* rgb */ color: rgb(175, 190, 98);
/* oklch */ color: oklch(77.0% 0.119 116.9);
Tailwind
colors: {
  custom: {
    50: '#c8d191',
    500: '#afbe62',
    950: '#000000',
  },
}
SCSS
$custom: #afbe62;
$custom-light: #c8d191;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe62",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 98
  },
  "hsl": {
    "h": 69.783,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76992,
    "c": 0.11859,
    "h": 116.9
  },
  "luminance": 0.46823
}

Semantic roles & 50–950 ramp

primary
#AFBE62
secondary
#B1ABD1
accent
#57D16B
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBE62

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

Preview Lab → · Contrast checker → · Palette generator →

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