#AFBE6B#AFBE6B

#AFBE6B is a light, moderate yellow-green. Relative luminance 0.470; OKLCH L 77.1% C 0.109 H 117.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#AFBE6B
RGBrgb(175, 190, 107)
HSLhsl(71, 39%, 58%)
HSVhsv(71, 44%, 75%)
CMYKcmyk(7.9%, 0%, 43.7%, 25.5%)
CIE-LABlab(74.19, -18.02, 40.06)
CIE-LCHlch(74.19, 43.93, 114.21°)
OKLaboklab(77.12% -0.0502 0.0968)
OKLCHoklch(77.12% 0.109 117.4)
XYZxyz(38.7468, 47.0027, 20.9383)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE6B #7A6BBE
analogous
#BEA36B #AFBE6B #85BE6B
triadic
#AFBE6B #6BAFBE #BE6BAF
tetradic
#AFBE6B #6BBEA3 #7A6BBE #BE6B85
square
#AFBE6B #6BBEA3 #7A6BBE #BE6B85
split-complementary
#AFBE6B #6B85BE #A36BBE
monochromatic
#6D7935 #93A448 #AFBE6B #C6D196 #DDE3C0

Accessibility & contrast

On white

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

On black

10.40
#AFBE6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE6B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE6B#FFFFFF#000000##000000
##AFBE6B1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B664
Deuteranopia (green-blind)
#C6B76F
Tritanopia (blue-blind)
#B7B6AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbe6b;
/* rgb */ color: rgb(175, 190, 107);
/* oklch */ color: oklch(77.1% 0.109 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d197',
    500: '#afbe6b',
    950: '#000000',
  },
}
SCSS
$custom: #afbe6b;
$custom-light: #c8d197;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe6b",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 107
  },
  "hsl": {
    "h": 70.843,
    "s": 38.967,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77122,
    "c": 0.10904,
    "h": 117.4
  },
  "luminance": 0.47002
}

Semantic roles & 50–950 ramp

primary
#AFBE6B
secondary
#B8B2D3
accent
#59CF6E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFBE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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