#AFC454#AFC454

#AFC454 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 78.2% C 0.140 H 118.7°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#AFC454
RGBrgb(175, 196, 84)
HSLhsl(71, 49%, 55%)
HSVhsv(71, 57%, 77%)
CMYKcmyk(10.7%, 0%, 57.1%, 23.1%)
CIE-LABlab(75.60, -23.20, 52.75)
CIE-LCHlch(75.60, 57.63, 113.74°)
OKLaboklab(78.16% -0.067 0.1226)
OKLCHoklch(78.16% 0.14 118.7)
XYZxyz(39.0199, 49.2342, 15.8333)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC454 #6954C4
analogous
#C4A154 #AFC454 #77C454
triadic
#AFC454 #54AFC4 #C454AF
tetradic
#AFC454 #54C4A1 #6954C4 #C45477
square
#AFC454 #54C4A1 #6954C4 #C45477
split-complementary
#AFC454 #5477C4 #A154C4
monochromatic
#677528 #8FA338 #AFC454 #C4D482 #DAE3AF

Accessibility & contrast

On white

1.94
#AFC454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#AFC454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC454
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC454#FFFFFF#000000##000000
##AFC4541.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA48
Deuteranopia (green-blind)
#CDBB5B
Tritanopia (blue-blind)
#B8BAAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc454;
/* rgb */ color: rgb(175, 196, 84);
/* oklch */ color: oklch(78.2% 0.140 118.7);
Tailwind
colors: {
  custom: {
    50: '#c9d588',
    500: '#afc454',
    950: '#000000',
  },
}
SCSS
$custom: #afc454;
$custom-light: #c9d588;
$custom-dark: #000000;
JSON
{
  "hex": "#afc454",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 71.25,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78161,
    "c": 0.13967,
    "h": 118.7
  },
  "luminance": 0.49234
}

Semantic roles & 50–950 ramp

primary
#AFC454
secondary
#ABA2D1
accent
#50D869
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC454

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

Preview Lab → · Contrast checker → · Palette generator →

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