#AFC18B#AFC18B

#AFC18B is a light, moderate yellow-green. Relative luminance 0.491; OKLCH L 78.4% C 0.076 H 123.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#AFC18B
RGBrgb(175, 193, 139)
HSLhsl(80, 30%, 65%)
HSVhsv(80, 28%, 76%)
CMYKcmyk(9.3%, 0%, 28%, 24.3%)
CIE-LABlab(75.52, -15.46, 25.22)
CIE-LCHlch(75.52, 29.58, 121.51°)
OKLaboklab(78.35% -0.0414 0.0635)
OKLCHoklch(78.35% 0.076 123.1)
XYZxyz(41.4089, 49.1179, 31.7203)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC18B #9D8BC1
analogous
#C1B88B #AFC18B #94C18B
triadic
#AFC18B #8BAFC1 #C18BAF
tetradic
#AFC18B #8BC1B8 #9D8BC1 #C18B94
square
#AFC18B #8BC1B8 #9D8BC1 #C18B94
split-complementary
#AFC18B #8B94C1 #B88BC1
monochromatic
#738949 #93AC63 #AFC18B #CBD6B3 #E6ECDB

Accessibility & contrast

On white

1.94
#AFC18B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#AFC18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC18B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC18B#FFFFFF#000000##000000
##AFC18B1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7BB88
Deuteranopia (green-blind)
#C5BA8D
Tritanopia (blue-blind)
#B3BCB3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc18b;
/* rgb */ color: rgb(175, 193, 139);
/* oklch */ color: oklch(78.4% 0.076 123.1);
Tailwind
colors: {
  custom: {
    50: '#c7d3ad',
    500: '#afc18b',
    950: '#000000',
  },
}
SCSS
$custom: #afc18b;
$custom-light: #c7d3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afc18b",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 139
  },
  "hsl": {
    "h": 80,
    "s": 30.337,
    "l": 65.098
  },
  "oklch": {
    "l": 0.78351,
    "c": 0.07579,
    "h": 123.1
  },
  "luminance": 0.49118
}

Semantic roles & 50–950 ramp

primary
#AFC18B
secondary
#D1CBDD
accent
#3CA961
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFC18B

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

Preview Lab → · Contrast checker → · Palette generator →

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