#AFBE63#AFBE63

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

Color values

HEX#AFBE63
RGBrgb(175, 190, 99)
HSLhsl(70, 41%, 57%)
HSVhsv(70, 48%, 75%)
CMYKcmyk(7.9%, 0%, 47.9%, 25.5%)
CIE-LABlab(74.09, -18.86, 43.91)
CIE-LCHlch(74.09, 47.79, 113.24°)
OKLaboklab(77.01% -0.0533 0.1048)
OKLCHoklch(77.01% 0.118 117)
XYZxyz(38.3452, 46.8421, 18.8233)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE63 #7263BE
analogous
#BEA063 #AFBE63 #82BE63
triadic
#AFBE63 #63AFBE #BE63AF
tetradic
#AFBE63 #63BEA0 #7263BE #BE6382
square
#AFBE63 #63BEA0 #7263BE #BE6382
split-complementary
#AFBE63 #6382BE #A063BE
monochromatic
#6A7631 #91A143 #AFBE63 #C5D08E #DBE2B9

Accessibility & contrast

On white

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

On black

10.37
#AFBE63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE63
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE63#FFFFFF#000000##000000
##AFBE631.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65B
Deuteranopia (green-blind)
#C7B768
Tritanopia (blue-blind)
#B7B5A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe63;
/* rgb */ color: rgb(175, 190, 99);
/* oklch */ color: oklch(77.0% 0.118 117.0);
Tailwind
colors: {
  custom: {
    50: '#c8d191',
    500: '#afbe63',
    950: '#000000',
  },
}
SCSS
$custom: #afbe63;
$custom-light: #c8d191;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe63",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 99
  },
  "hsl": {
    "h": 69.89,
    "s": 41.176,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77006,
    "c": 0.11756,
    "h": 117
  },
  "luminance": 0.46842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBE63

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

Preview Lab → · Contrast checker → · Palette generator →

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