#AFC15D#AFC15D

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

Color values

HEX#AFC15D
RGBrgb(175, 193, 93)
HSLhsl(71, 45%, 56%)
HSVhsv(71, 52%, 76%)
CMYKcmyk(9.3%, 0%, 51.8%, 24.3%)
CIE-LABlab(74.85, -20.94, 47.72)
CIE-LCHlch(74.85, 52.11, 113.69°)
OKLaboklab(77.6% -0.0597 0.1126)
OKLCHoklch(77.6% 0.127 117.9)
XYZxyz(38.7254, 48.0445, 17.5872)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC15D #6F5DC1
analogous
#C1A15D #AFC15D #7DC15D
triadic
#AFC15D #5DAFC1 #C15DAF
tetradic
#AFC15D #5DC1A1 #6F5DC1 #C15D7D
square
#AFC15D #5DC1A1 #6F5DC1 #C15D7D
split-complementary
#AFC15D #5D7DC1 #A15DC1
monochromatic
#69762D #91A33E #AFC15D #C5D289 #DBE3B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC15D#FFFFFF#000000##000000
##AFC15D1.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)
#CCB854
Deuteranopia (green-blind)
#CAB963
Tritanopia (blue-blind)
#B8B8AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc15d;
/* rgb */ color: rgb(175, 193, 93);
/* oklch */ color: oklch(77.6% 0.127 117.9);
Tailwind
colors: {
  custom: {
    50: '#c9d38e',
    500: '#afc15d',
    950: '#000000',
  },
}
SCSS
$custom: #afc15d;
$custom-light: #c9d38e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc15d",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 70.8,
    "s": 44.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77595,
    "c": 0.12749,
    "h": 117.9
  },
  "luminance": 0.48044
}

Semantic roles & 50–950 ramp

primary
#AFC15D
secondary
#B0A8D2
accent
#53D46B
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC15D

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

Preview Lab → · Contrast checker → · Palette generator →

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