#AFC57E#AFC57E

#AFC57E is a light, moderate yellow-green. Relative luminance 0.506; OKLCH L 79.0% C 0.097 H 122.6°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#AFC57E
RGBrgb(175, 197, 126)
HSLhsl(79, 38%, 63%)
HSVhsv(79, 36%, 77%)
CMYKcmyk(11.2%, 0%, 36%, 22.7%)
CIE-LABlab(76.41, -19.26, 33.19)
CIE-LCHlch(76.41, 38.37, 120.12°)
OKLaboklab(78.98% -0.0525 0.082)
OKLCHoklch(78.98% 0.097 122.6)
XYZxyz(41.4111, 50.5528, 27.3106)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC57E #947EC5
analogous
#C5B77E #AFC57E #8BC57E
triadic
#AFC57E #7EAFC5 #C57EAF
tetradic
#AFC57E #7EC5B7 #947EC5 #C57E8B
square
#AFC57E #7EC5B7 #947EC5 #C57E8B
split-complementary
#AFC57E #7E8BC5 #B77EC5
monochromatic
#738A3E #95B254 #AFC57E #C9D8A8 #E3EBD2

Accessibility & contrast

On white

1.89
#AFC57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#AFC57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC57E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC57E#FFFFFF#000000##000000
##AFC57E1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD79
Deuteranopia (green-blind)
#CABC81
Tritanopia (blue-blind)
#B4BEB3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc57e;
/* rgb */ color: rgb(175, 197, 126);
/* oklch */ color: oklch(79.0% 0.097 122.6);
Tailwind
colors: {
  custom: {
    50: '#c8d6a4',
    500: '#afc57e',
    950: '#000000',
  },
}
SCSS
$custom: #afc57e;
$custom-light: #c8d6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afc57e",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 126
  },
  "hsl": {
    "h": 78.592,
    "s": 37.968,
    "l": 63.333
  },
  "oklch": {
    "l": 0.78984,
    "c": 0.09737,
    "h": 122.6
  },
  "luminance": 0.50553
}

Semantic roles & 50–950 ramp

primary
#AFC57E
secondary
#685592
accent
#35B15B
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC57E

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

Preview Lab → · Contrast checker → · Palette generator →

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