#AFBE6F#AFBE6F

#AFBE6F is a light, moderate yellow-green. Relative luminance 0.471; OKLCH L 77.2% C 0.105 H 117.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#AFBE6F
RGBrgb(175, 190, 111)
HSLhsl(71, 38%, 59%)
HSVhsv(71, 42%, 75%)
CMYKcmyk(7.9%, 0%, 41.6%, 25.5%)
CIE-LABlab(74.25, -17.57, 38.11)
CIE-LCHlch(74.25, 41.96, 114.75°)
OKLaboklab(77.18% -0.0486 0.0926)
OKLCHoklch(77.18% 0.105 117.7)
XYZxyz(38.9621, 47.0888, 22.0723)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE6F #7E6FBE
analogous
#BEA66F #AFBE6F #88BE6F
triadic
#AFBE6F #6FAFBE #BE6FAF
tetradic
#AFBE6F #6FBEA6 #7E6FBE #BE6F88
square
#AFBE6F #6FBEA6 #7E6FBE #BE6F88
split-complementary
#AFBE6F #6F88BE #A66FBE
monochromatic
#6E7B38 #94A54B #AFBE6F #C6D199 #DEE4C3

Accessibility & contrast

On white

2.02
#AFBE6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#AFBE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE6F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE6F#FFFFFF#000000##000000
##AFBE6F1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B669
Deuteranopia (green-blind)
#C6B773
Tritanopia (blue-blind)
#B6B6AB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbe6f;
/* rgb */ color: rgb(175, 190, 111);
/* oklch */ color: oklch(77.2% 0.105 117.7);
Tailwind
colors: {
  custom: {
    50: '#c8d199',
    500: '#afbe6f',
    950: '#000000',
  },
}
SCSS
$custom: #afbe6f;
$custom-light: #c8d199;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe6f",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 111
  },
  "hsl": {
    "h": 71.392,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.77184,
    "c": 0.10461,
    "h": 117.7
  },
  "luminance": 0.47089
}

Semantic roles & 50–950 ramp

primary
#AFBE6F
secondary
#BBB5D4
accent
#5ACE70
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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