#AFCC8A#AFCC8A

#AFCC8A is a light, moderate yellow-green. Relative luminance 0.541; OKLCH L 80.8% C 0.094 H 127.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#AFCC8A
RGBrgb(175, 204, 138)
HSLhsl(86, 39%, 67%)
HSVhsv(86, 32%, 80%)
CMYKcmyk(14.2%, 0%, 32.4%, 20%)
CIE-LABlab(78.54, -21.12, 29.78)
CIE-LCHlch(78.54, 36.51, 125.35°)
OKLaboklab(80.75% -0.0573 0.0743)
OKLCHoklch(80.75% 0.094 127.6)
XYZxyz(43.8589, 54.1343, 32.1781)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC8A #A78ACC
analogous
#CCC88A #AFCC8A #8ECC8A
triadic
#AFCC8A #8AAFCC #CC8AAF
tetradic
#AFCC8A #8ACCC8 #A78ACC #CC8A8E
square
#AFCC8A #8ACCC8 #A78ACC #CC8A8E
split-complementary
#AFCC8A #8A8ECC #C88ACC
monochromatic
#739943 #92B95F #AFCC8A #CCDFB5 #E9F1DF

Accessibility & contrast

On white

1.78
#AFCC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#AFCC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC8A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC8A#FFFFFF#000000##000000
##AFCC8A1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C486
Deuteranopia (green-blind)
#CEC28D
Tritanopia (blue-blind)
#B2C6BB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcc8a;
/* rgb */ color: rgb(175, 204, 138);
/* oklch */ color: oklch(80.8% 0.094 127.6);
Tailwind
colors: {
  custom: {
    50: '#c7dbac',
    500: '#afcc8a',
    950: '#000000',
  },
}
SCSS
$custom: #afcc8a;
$custom-light: #c7dbac;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc8a",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 86.364,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80753,
    "c": 0.09388,
    "h": 127.6
  },
  "luminance": 0.54135
}

Semantic roles & 50–950 ramp

primary
#AFCC8A
secondary
#795BA0
accent
#33B26B
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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