#AFC15C#AFC15C

#AFC15C is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.6% C 0.128 H 117.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#AFC15C
RGBrgb(175, 193, 92)
HSLhsl(71, 45%, 56%)
HSVhsv(71, 52%, 76%)
CMYKcmyk(9.3%, 0%, 52.3%, 24.3%)
CIE-LABlab(74.84, -21.03, 48.18)
CIE-LCHlch(74.84, 52.57, 113.58°)
OKLaboklab(77.58% -0.0601 0.1136)
OKLCHoklch(77.58% 0.128 117.9)
XYZxyz(38.6814, 48.0269, 17.3555)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC15C #6E5CC1
analogous
#C1A05C #AFC15C #7CC15C
triadic
#AFC15C #5CAFC1 #C15CAF
tetradic
#AFC15C #5CC1A0 #6E5CC1 #C15C7C
square
#AFC15C #5CC1A0 #6E5CC1 #C15C7C
split-complementary
#AFC15C #5C7CC1 #A05CC1
monochromatic
#69762D #90A23E #AFC15C #C5D288 #DBE3B5

Accessibility & contrast

On white

1.98
#AFC15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#AFC15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC15C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC15C#FFFFFF#000000##000000
##AFC15C1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB852
Deuteranopia (green-blind)
#CAB962
Tritanopia (blue-blind)
#B8B8AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc15c;
/* rgb */ color: rgb(175, 193, 92);
/* oklch */ color: oklch(77.6% 0.128 117.9);
Tailwind
colors: {
  custom: {
    50: '#c9d38d',
    500: '#afc15c',
    950: '#000000',
  },
}
SCSS
$custom: #afc15c;
$custom-light: #c9d38d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc15c",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 70.693,
    "s": 44.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77583,
    "c": 0.12846,
    "h": 117.9
  },
  "luminance": 0.48027
}

Semantic roles & 50–950 ramp

primary
#AFC15C
secondary
#AFA7D1
accent
#53D56A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC15C

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

Preview Lab → · Contrast checker → · Palette generator →

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