#AFBE81#AFBE81

#AFBE81 is a light, moderate yellow-green. Relative luminance 0.475; OKLCH L 77.5% C 0.084 H 119.6°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#AFBE81
RGBrgb(175, 190, 129)
HSLhsl(75, 32%, 63%)
HSVhsv(75, 32%, 75%)
CMYKcmyk(7.9%, 0%, 32.1%, 25.5%)
CIE-LABlab(74.53, -15.33, 29.16)
CIE-LCHlch(74.53, 32.94, 117.73°)
OKLaboklab(77.5% -0.0413 0.0726)
OKLCHoklch(77.5% 0.084 119.6)
XYZxyz(40.0549, 47.5260, 27.8279)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE81 #9081BE
analogous
#BEAE81 #AFBE81 #91BE81
triadic
#AFBE81 #81AFBE #BE81AF
tetradic
#AFBE81 #81BEAE #9081BE #BE8191
square
#AFBE81 #81BEAE #9081BE #BE8191
split-complementary
#AFBE81 #8191BE #AE81BE
monochromatic
#728243 #95A959 #AFBE81 #C9D3A9 #E2E8D2

Accessibility & contrast

On white

2.00
#AFBE81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#AFBE81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE81
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE81#FFFFFF#000000##000000
##AFBE811.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B77D
Deuteranopia (green-blind)
#C4B884
Tritanopia (blue-blind)
#B5B8AE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbe81;
/* rgb */ color: rgb(175, 190, 129);
/* oklch */ color: oklch(77.5% 0.084 119.6);
Tailwind
colors: {
  custom: {
    50: '#c7d1a6',
    500: '#afbe81',
    950: '#000000',
  },
}
SCSS
$custom: #afbe81;
$custom-light: #c7d1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe81",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 129
  },
  "hsl": {
    "h": 74.754,
    "s": 31.937,
    "l": 62.549
  },
  "oklch": {
    "l": 0.77497,
    "c": 0.08356,
    "h": 119.6
  },
  "luminance": 0.47526
}

Semantic roles & 50–950 ramp

primary
#AFBE81
secondary
#C8C2D8
accent
#3BAB56
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBE81

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

Preview Lab → · Contrast checker → · Palette generator →

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