#AFBB6B#AFBB6B

#AFBB6B is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.105 H 115.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#AFBB6B
RGBrgb(175, 187, 107)
HSLhsl(69, 37%, 58%)
HSVhsv(69, 43%, 73%)
CMYKcmyk(6.4%, 0%, 42.8%, 26.7%)
CIE-LABlab(73.36, -16.50, 39.03)
CIE-LCHlch(73.36, 42.37, 112.92°)
OKLaboklab(76.46% -0.0459 0.0945)
OKLCHoklch(76.46% 0.105 115.9)
XYZxyz(38.1037, 45.7165, 20.7239)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB6B #776BBB
analogous
#BB9F6B #AFBB6B #87BB6B
triadic
#AFBB6B #6BAFBB #BB6BAF
tetradic
#AFBB6B #6BBB9F #776BBB #BB6B87
square
#AFBB6B #6BBB9F #776BBB #BB6B87
split-complementary
#AFBB6B #6B87BB #9F6BBB
monochromatic
#6C7636 #93A049 #AFBB6B #C6CE95 #DCE2BF

Accessibility & contrast

On white

2.07
#AFBB6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#AFBB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB6B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB6B#FFFFFF#000000##000000
##AFBB6B1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B465
Deuteranopia (green-blind)
#C4B56F
Tritanopia (blue-blind)
#B7B3A8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb6b;
/* rgb */ color: rgb(175, 187, 107);
/* oklch */ color: oklch(76.5% 0.105 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8cf97',
    500: '#afbb6b',
    950: '#000000',
  },
}
SCSS
$custom: #afbb6b;
$custom-light: #c8cf97;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb6b",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 107
  },
  "hsl": {
    "h": 69,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76458,
    "c": 0.10503,
    "h": 115.9
  },
  "luminance": 0.45716
}

Semantic roles & 50–950 ramp

primary
#AFBB6B
secondary
#B6B1D1
accent
#5BCD6C
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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