#AFC657#AFC657

#AFC657 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.6% C 0.140 H 119.5°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#AFC657
RGBrgb(175, 198, 87)
HSLhsl(72, 49%, 56%)
HSVhsv(72, 56%, 78%)
CMYKcmyk(11.6%, 0%, 56.1%, 22.4%)
CIE-LABlab(76.19, -23.93, 52.06)
CIE-LCHlch(76.19, 57.30, 114.69°)
OKLaboklab(78.64% -0.0687 0.1214)
OKLCHoklch(78.64% 0.14 119.5)
XYZxyz(39.5941, 50.1904, 16.6168)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC657 #6E57C6
analogous
#C6A557 #AFC657 #77C657
triadic
#AFC657 #57AFC6 #C657AF
tetradic
#AFC657 #57C6A5 #6E57C6 #C65777
square
#AFC657 #57C6A5 #6E57C6 #C65777
split-complementary
#AFC657 #5777C6 #A557C6
monochromatic
#697929 #90A739 #AFC657 #C5D685 #DBE5B2

Accessibility & contrast

On white

1.90
#AFC657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#AFC657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC657
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC657#FFFFFF#000000##000000
##AFC6571.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4C
Deuteranopia (green-blind)
#CFBC5E
Tritanopia (blue-blind)
#B8BDAE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc657;
/* rgb */ color: rgb(175, 198, 87);
/* oklch */ color: oklch(78.6% 0.140 119.5);
Tailwind
colors: {
  custom: {
    50: '#c9d78a',
    500: '#afc657',
    950: '#000000',
  },
}
SCSS
$custom: #afc657;
$custom-light: #c9d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc657",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 72.432,
    "s": 49.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78644,
    "c": 0.13951,
    "h": 119.5
  },
  "luminance": 0.5019
}

Semantic roles & 50–950 ramp

primary
#AFC657
secondary
#4D3F82
accent
#4FD96C
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFC657

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

Preview Lab → · Contrast checker → · Palette generator →

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