#AFBB6F#AFBB6F

#AFBB6F is a light, moderate yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.101 H 116.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#AFBB6F
RGBrgb(175, 187, 111)
HSLhsl(69, 36%, 58%)
HSVhsv(69, 41%, 73%)
CMYKcmyk(6.4%, 0%, 40.6%, 26.7%)
CIE-LABlab(73.42, -16.05, 37.06)
CIE-LCHlch(73.42, 40.39, 113.41°)
OKLaboklab(76.52% -0.0443 0.0902)
OKLCHoklch(76.52% 0.101 116.2)
XYZxyz(38.3190, 45.8027, 21.8580)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB6F #7B6FBB
analogous
#BBA16F #AFBB6F #89BB6F
triadic
#AFBB6F #6FAFBB #BB6FAF
tetradic
#AFBB6F #6FBBA1 #7B6FBB #BB6F89
square
#AFBB6F #6FBBA1 #7B6FBB #BB6F89
split-complementary
#AFBB6F #6F89BB #A16FBB
monochromatic
#6D7738 #93A14C #AFBB6F #C6CF99 #DDE2C2

Accessibility & contrast

On white

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

On black

10.16
#AFBB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB6F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB6F#FFFFFF#000000##000000
##AFBB6F1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb6f;
/* rgb */ color: rgb(175, 187, 111);
/* oklch */ color: oklch(76.5% 0.101 116.2);
Tailwind
colors: {
  custom: {
    50: '#c8cf99',
    500: '#afbb6f',
    950: '#000000',
  },
}
SCSS
$custom: #afbb6f;
$custom-light: #c8cf99;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb6f",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 111
  },
  "hsl": {
    "h": 69.474,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76521,
    "c": 0.10054,
    "h": 116.2
  },
  "luminance": 0.45802
}

Semantic roles & 50–950 ramp

primary
#AFBB6F
secondary
#B9B4D2
accent
#5CCC6E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFBB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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