#AFC56B#AFC56B

#AFC56B is a light, moderate yellow-green. Relative luminance 0.501; OKLCH L 78.7% C 0.119 H 120.5°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#AFC56B
RGBrgb(175, 197, 107)
HSLhsl(75, 44%, 60%)
HSVhsv(75, 46%, 77%)
CMYKcmyk(11.2%, 0%, 45.7%, 22.7%)
CIE-LABlab(76.14, -21.51, 42.47)
CIE-LCHlch(76.14, 47.61, 116.86°)
OKLaboklab(78.68% -0.0601 0.1022)
OKLCHoklch(78.68% 0.119 120.5)
XYZxyz(40.2995, 50.1081, 21.4559)
Luminance0.5011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC56B #816BC5
analogous
#C5AE6B #AFC56B #82C56B
triadic
#AFC56B #6BAFC5 #C56BAF
tetradic
#AFC56B #6BC5AE #816BC5 #C56B82
square
#AFC56B #6BC5AE #816BC5 #C56B82
split-complementary
#AFC56B #6B82C5 #AE6BC5
monochromatic
#6F8233 #95AE44 #AFC56B #C7D697 #DFE7C3

Accessibility & contrast

On white

1.91
#AFC56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#AFC56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC56B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC56B#FFFFFF#000000##000000
##AFC56B1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC64
Deuteranopia (green-blind)
#CCBC70
Tritanopia (blue-blind)
#B6BDB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc56b;
/* rgb */ color: rgb(175, 197, 107);
/* oklch */ color: oklch(78.7% 0.119 120.5);
Tailwind
colors: {
  custom: {
    50: '#c8d697',
    500: '#afc56b',
    950: '#000000',
  },
}
SCSS
$custom: #afc56b;
$custom-light: #c8d697;
$custom-dark: #000000;
JSON
{
  "hex": "#afc56b",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 107
  },
  "hsl": {
    "h": 74.667,
    "s": 43.689,
    "l": 59.608
  },
  "oklch": {
    "l": 0.78677,
    "c": 0.11853,
    "h": 120.5
  },
  "luminance": 0.50108
}

Semantic roles & 50–950 ramp

primary
#AFC56B
secondary
#5A4A8B
accent
#54D373
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC56B

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

Preview Lab → · Contrast checker → · Palette generator →

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