#AFBC6D#AFBC6D

#AFBC6D is a light, moderate yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.104 H 116.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#AFBC6D
RGBrgb(175, 188, 109)
HSLhsl(70, 37%, 58%)
HSVhsv(70, 42%, 74%)
CMYKcmyk(6.9%, 0%, 42%, 26.3%)
CIE-LABlab(73.67, -16.78, 38.39)
CIE-LCHlch(73.67, 41.90, 113.61°)
OKLaboklab(76.71% -0.0466 0.0931)
OKLCHoklch(76.71% 0.104 116.6)
XYZxyz(38.4230, 46.1849, 21.3555)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC6D #7A6DBC
analogous
#BCA16D #AFBC6D #87BC6D
triadic
#AFBC6D #6DAFBC #BC6DAF
tetradic
#AFBC6D #6DBCA1 #7A6DBC #BC6D87
square
#AFBC6D #6DBCA1 #7A6DBC #BC6D87
split-complementary
#AFBC6D #6D87BC #A16DBC
monochromatic
#6D7837 #93A24A #AFBC6D #C6CF97 #DDE3C1

Accessibility & contrast

On white

2.05
#AFBC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#AFBC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC6D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC6D#FFFFFF#000000##000000
##AFBC6D1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B567
Deuteranopia (green-blind)
#C5B671
Tritanopia (blue-blind)
#B7B4A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc6d;
/* rgb */ color: rgb(175, 188, 109);
/* oklch */ color: oklch(76.7% 0.104 116.6);
Tailwind
colors: {
  custom: {
    50: '#c8d098',
    500: '#afbc6d',
    950: '#000000',
  },
}
SCSS
$custom: #afbc6d;
$custom-light: #c8d098;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc6d",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 109
  },
  "hsl": {
    "h": 69.873,
    "s": 37.089,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7671,
    "c": 0.10414,
    "h": 116.6
  },
  "luminance": 0.46185
}

Semantic roles & 50–950 ramp

primary
#AFBC6D
secondary
#B8B3D2
accent
#5BCD6E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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