#AFBF6A#AFBF6A

#AFBF6A is a light, moderate yellow-green. Relative luminance 0.474; OKLCH L 77.3% C 0.111 H 117.8°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#AFBF6A
RGBrgb(175, 191, 106)
HSLhsl(71, 40%, 58%)
HSVhsv(71, 45%, 75%)
CMYKcmyk(8.4%, 0%, 44.5%, 25.1%)
CIE-LABlab(74.46, -18.63, 40.89)
CIE-LCHlch(74.46, 44.93, 114.49°)
OKLaboklab(77.33% -0.052 0.0986)
OKLCHoklch(77.33% 0.111 117.8)
XYZxyz(38.9118, 47.4164, 20.7353)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF6A #7A6ABF
analogous
#BFA46A #AFBF6A #84BF6A
triadic
#AFBF6A #6AAFBF #BF6AAF
tetradic
#AFBF6A #6ABFA4 #7A6ABF #BF6A84
square
#AFBF6A #6ABFA4 #7A6ABF #BF6A84
split-complementary
#AFBF6A #6A84BF #A46ABF
monochromatic
#6D7A34 #93A547 #AFBF6A #C6D195 #DDE4C0

Accessibility & contrast

On white

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

On black

10.48
#AFBF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF6A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF6A#FFFFFF#000000##000000
##AFBF6A1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B763
Deuteranopia (green-blind)
#C7B86E
Tritanopia (blue-blind)
#B7B7AB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf6a;
/* rgb */ color: rgb(175, 191, 106);
/* oklch */ color: oklch(77.3% 0.111 117.8);
Tailwind
colors: {
  custom: {
    50: '#c8d296',
    500: '#afbf6a',
    950: '#000000',
  },
}
SCSS
$custom: #afbf6a;
$custom-light: #c8d296;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf6a",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 106
  },
  "hsl": {
    "h": 71.294,
    "s": 39.906,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77328,
    "c": 0.11146,
    "h": 117.8
  },
  "luminance": 0.47416
}

Semantic roles & 50–950 ramp

primary
#AFBF6A
secondary
#B8B1D3
accent
#58D06F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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