#AFCE5A#AFCE5A

#AFCE5A is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.5% C 0.147 H 122.3°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#AFCE5A
RGBrgb(175, 206, 90)
HSLhsl(76, 54%, 58%)
HSVhsv(76, 56%, 81%)
CMYKcmyk(15%, 0%, 56.3%, 19.2%)
CIE-LABlab(78.46, -27.54, 53.29)
CIE-LCHlch(78.46, 59.99, 117.32°)
OKLaboklab(80.48% -0.0785 0.1244)
OKLCHoklch(80.48% 0.147 122.3)
XYZxyz(41.5963, 53.9947, 17.9015)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE5A #795ACE
analogous
#CEB35A #AFCE5A #75CE5A
triadic
#AFCE5A #5AAFCE #CE5AAF
tetradic
#AFCE5A #5ACEB3 #795ACE #CE5A75
square
#AFCE5A #5ACEB3 #795ACE #CE5A75
split-complementary
#AFCE5A #5A75CE #B35ACE
monochromatic
#6D8628 #93B536 #AFCE5A #C6DC89 #DDEAB8

Accessibility & contrast

On white

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

On black

11.80
#AFCE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE5A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE5A#FFFFFF#000000##000000
##AFCE5A1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#D5C261
Tritanopia (blue-blind)
#B7C5B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce5a;
/* rgb */ color: rgb(175, 206, 90);
/* oklch */ color: oklch(80.5% 0.147 122.3);
Tailwind
colors: {
  custom: {
    50: '#c9dd8c',
    500: '#afce5a',
    950: '#000000',
  },
}
SCSS
$custom: #afce5a;
$custom-light: #c9dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afce5a",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 76.034,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.1471,
    "h": 122.3
  },
  "luminance": 0.53995
}

Semantic roles & 50–950 ramp

primary
#AFCE5A
secondary
#543F8D
accent
#4ADE72
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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