#AFC358#AFC358

#AFC358 is a light, vivid yellow-green. Relative luminance 0.488; OKLCH L 78.0% C 0.135 H 118.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#AFC358
RGBrgb(175, 195, 88)
HSLhsl(71, 47%, 55%)
HSVhsv(71, 55%, 76%)
CMYKcmyk(10.3%, 0%, 54.9%, 23.5%)
CIE-LABlab(75.36, -22.37, 50.65)
CIE-LCHlch(75.36, 55.38, 113.83°)
OKLaboklab(77.98% -0.0642 0.1185)
OKLCHoklch(77.98% 0.135 118.5)
XYZxyz(38.9563, 48.8490, 16.6072)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC358 #6C58C3
analogous
#C3A158 #AFC358 #79C358
triadic
#AFC358 #58AFC3 #C358AF
tetradic
#AFC358 #58C3A1 #6C58C3 #C35879
square
#AFC358 #58C3A1 #6C58C3 #C35879
split-complementary
#AFC358 #5879C3 #A158C3
monochromatic
#68762A #90A33B #AFC358 #C5D385 #DAE3B2

Accessibility & contrast

On white

1.95
#AFC358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#AFC358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC358
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC358#FFFFFF#000000##000000
##AFC3581.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94D
Deuteranopia (green-blind)
#CCBA5E
Tritanopia (blue-blind)
#B8BAAB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc358;
/* rgb */ color: rgb(175, 195, 88);
/* oklch */ color: oklch(78.0% 0.135 118.5);
Tailwind
colors: {
  custom: {
    50: '#c9d58a',
    500: '#afc358',
    950: '#000000',
  },
}
SCSS
$custom: #afc358;
$custom-light: #c9d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc358",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 71.215,
    "s": 47.137,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77982,
    "c": 0.1348,
    "h": 118.5
  },
  "luminance": 0.48849
}

Semantic roles & 50–950 ramp

primary
#AFC358
secondary
#ADA5D2
accent
#51D76A
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC358

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

Preview Lab → · Contrast checker → · Palette generator →

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