#AFCE5F#AFCE5F

#AFCE5F is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.5% C 0.143 H 122.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#AFCE5F
RGBrgb(175, 206, 95)
HSLhsl(77, 53%, 59%)
HSVhsv(77, 54%, 81%)
CMYKcmyk(15%, 0%, 53.9%, 19.2%)
CIE-LABlab(78.51, -27.09, 51.07)
CIE-LCHlch(78.51, 57.81, 117.94°)
OKLaboklab(80.54% -0.0768 0.1201)
OKLCHoklch(80.54% 0.143 122.6)
XYZxyz(41.8163, 54.0827, 19.0603)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE5F #7E5FCE
analogous
#CEB65F #AFCE5F #78CE5F
triadic
#AFCE5F #5FAFCE #CE5FAF
tetradic
#AFCE5F #5FCEB6 #7E5FCE #CE5F78
square
#AFCE5F #5FCEB6 #7E5FCE #CE5F78
split-complementary
#AFCE5F #5F78CE #B65FCE
monochromatic
#6E892A #94B838 #AFCE5F #C6DC8E #DEEBBD

Accessibility & contrast

On white

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

On black

11.82
#AFCE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE5F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE5F#FFFFFF#000000##000000
##AFCE5F1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C354
Deuteranopia (green-blind)
#D5C266
Tritanopia (blue-blind)
#B6C5B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce5f;
/* rgb */ color: rgb(175, 206, 95);
/* oklch */ color: oklch(80.5% 0.143 122.6);
Tailwind
colors: {
  custom: {
    50: '#c9dd8f',
    500: '#afce5f',
    950: '#000000',
  },
}
SCSS
$custom: #afce5f;
$custom-light: #c9dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afce5f",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 76.757,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80538,
    "c": 0.14255,
    "h": 122.6
  },
  "luminance": 0.54083
}

Semantic roles & 50–950 ramp

primary
#AFCE5F
secondary
#57428F
accent
#4BDD74
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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