#AFC458#AFC458

#AFC458 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 78.2% C 0.136 H 118.8°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#AFC458
RGBrgb(175, 196, 88)
HSLhsl(72, 48%, 56%)
HSVhsv(72, 55%, 77%)
CMYKcmyk(10.7%, 0%, 55.1%, 23.1%)
CIE-LABlab(75.64, -22.87, 50.98)
CIE-LCHlch(75.64, 55.87, 114.16°)
OKLaboklab(78.21% -0.0656 0.1192)
OKLCHoklch(78.21% 0.136 118.8)
XYZxyz(39.1811, 49.2986, 16.6821)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC458 #6D58C4
analogous
#C4A358 #AFC458 #79C458
triadic
#AFC458 #58AFC4 #C458AF
tetradic
#AFC458 #58C4A3 #6D58C4 #C45879
square
#AFC458 #58C4A3 #6D58C4 #C45879
split-complementary
#AFC458 #5879C4 #A358C4
monochromatic
#68772A #90A53A #AFC458 #C5D485 #DAE4B2

Accessibility & contrast

On white

1.93
#AFC458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#AFC458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC458
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC458#FFFFFF#000000##000000
##AFC4581.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4D
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#B8BBAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc458;
/* rgb */ color: rgb(175, 196, 88);
/* oklch */ color: oklch(78.2% 0.136 118.8);
Tailwind
colors: {
  custom: {
    50: '#c9d58a',
    500: '#afc458',
    950: '#000000',
  },
}
SCSS
$custom: #afc458;
$custom-light: #c9d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc458",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 71.667,
    "s": 47.788,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78206,
    "c": 0.13606,
    "h": 118.8
  },
  "luminance": 0.49298
}

Semantic roles & 50–950 ramp

primary
#AFC458
secondary
#AEA5D2
accent
#50D76B
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC458

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

Preview Lab → · Contrast checker → · Palette generator →

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