#AFCB8A#AFCB8A

#AFCB8A is a light, moderate yellow-green. Relative luminance 0.537; OKLCH L 80.5% C 0.092 H 127.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#AFCB8A
RGBrgb(175, 203, 138)
HSLhsl(86, 38%, 67%)
HSVhsv(86, 32%, 80%)
CMYKcmyk(13.8%, 0%, 32%, 20.4%)
CIE-LABlab(78.26, -20.63, 29.41)
CIE-LCHlch(78.26, 35.93, 125.04°)
OKLaboklab(80.53% -0.0559 0.0735)
OKLCHoklch(80.53% 0.092 127.3)
XYZxyz(43.6220, 53.6604, 32.0992)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB8A #A68ACB
analogous
#CBC78A #AFCB8A #8FCB8A
triadic
#AFCB8A #8AAFCB #CB8AAF
tetradic
#AFCB8A #8ACBC7 #A68ACB #CB8A8F
square
#AFCB8A #8ACBC7 #A68ACB #CB8A8F
split-complementary
#AFCB8A #8A8FCB #C78ACB
monochromatic
#739743 #92B860 #AFCB8A #CCDEB4 #E9F1DF

Accessibility & contrast

On white

1.79
#AFCB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#AFCB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB8A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB8A#FFFFFF#000000##000000
##AFCB8A1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C386
Deuteranopia (green-blind)
#CDC18D
Tritanopia (blue-blind)
#B2C5BA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcb8a;
/* rgb */ color: rgb(175, 203, 138);
/* oklch */ color: oklch(80.5% 0.092 127.3);
Tailwind
colors: {
  custom: {
    50: '#c7dbac',
    500: '#afcb8a',
    950: '#000000',
  },
}
SCSS
$custom: #afcb8a;
$custom-light: #c7dbac;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb8a",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 85.846,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.80532,
    "c": 0.09234,
    "h": 127.3
  },
  "luminance": 0.53661
}

Semantic roles & 50–950 ramp

primary
#AFCB8A
secondary
#785B9E
accent
#34B16A
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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