#AFBC81#AFBC81

#AFBC81 is a light, moderate yellow-green. Relative luminance 0.467; OKLCH L 77.1% C 0.081 H 118.4°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#AFBC81
RGBrgb(175, 188, 129)
HSLhsl(73, 31%, 62%)
HSVhsv(73, 31%, 74%)
CMYKcmyk(6.9%, 0%, 31.4%, 26.3%)
CIE-LABlab(73.98, -14.31, 28.43)
CIE-LCHlch(73.98, 31.82, 116.71°)
OKLaboklab(77.06% -0.0384 0.0709)
OKLCHoklch(77.06% 0.081 118.4)
XYZxyz(39.6247, 46.6656, 27.6845)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC81 #8E81BC
analogous
#BCAB81 #AFBC81 #92BC81
triadic
#AFBC81 #81AFBC #BC81AF
tetradic
#AFBC81 #81BCAB #8E81BC #BC8192
square
#AFBC81 #81BCAB #8E81BC #BC8192
split-complementary
#AFBC81 #8192BC #AB81BC
monochromatic
#727F44 #96A759 #AFBC81 #C8D1A9 #E2E6D1

Accessibility & contrast

On white

2.03
#AFBC81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#AFBC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC81
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC81#FFFFFF#000000##000000
##AFBC811.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B67D
Deuteranopia (green-blind)
#C2B684
Tritanopia (blue-blind)
#B5B6AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc81;
/* rgb */ color: rgb(175, 188, 129);
/* oklch */ color: oklch(77.1% 0.081 118.4);
Tailwind
colors: {
  custom: {
    50: '#c7d0a6',
    500: '#afbc81',
    950: '#000000',
  },
}
SCSS
$custom: #afbc81;
$custom-light: #c7d0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc81",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 129
  },
  "hsl": {
    "h": 73.22,
    "s": 30.57,
    "l": 62.157
  },
  "oklch": {
    "l": 0.77059,
    "c": 0.08065,
    "h": 118.4
  },
  "luminance": 0.46665
}

Semantic roles & 50–950 ramp

primary
#AFBC81
secondary
#C6C2D7
accent
#3CA954
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBC81

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

Preview Lab → · Contrast checker → · Palette generator →

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