#AFC55F#AFC55F

#AFC55F is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.5% C 0.131 H 119.6°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#AFC55F
RGBrgb(175, 197, 95)
HSLhsl(73, 47%, 57%)
HSVhsv(73, 52%, 77%)
CMYKcmyk(11.2%, 0%, 51.8%, 22.7%)
CIE-LABlab(75.99, -22.72, 48.12)
CIE-LCHlch(75.99, 53.21, 115.28°)
OKLaboklab(78.52% -0.0646 0.1137)
OKLCHoklch(78.52% 0.131 119.6)
XYZxyz(39.7114, 49.8729, 18.3586)
Luminance0.4987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC55F #755FC5
analogous
#C5A85F #AFC55F #7CC55F
triadic
#AFC55F #5FAFC5 #C55FAF
tetradic
#AFC55F #5FC5A8 #755FC5 #C55F7C
square
#AFC55F #5FC5A8 #755FC5 #C55F7C
split-complementary
#AFC55F #5F7CC5 #A85FC5
monochromatic
#6B7C2D #92A93D #AFC55F #C5D58C #DCE6B9

Accessibility & contrast

On white

1.91
#AFC55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#AFC55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC55F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC55F#FFFFFF#000000##000000
##AFC55F1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB55
Deuteranopia (green-blind)
#CDBC65
Tritanopia (blue-blind)
#B7BCAE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc55f;
/* rgb */ color: rgb(175, 197, 95);
/* oklch */ color: oklch(78.5% 0.131 119.6);
Tailwind
colors: {
  custom: {
    50: '#c9d68f',
    500: '#afc55f',
    950: '#000000',
  },
}
SCSS
$custom: #afc55f;
$custom-light: #c9d68f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc55f",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 72.941,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78515,
    "c": 0.13072,
    "h": 119.6
  },
  "luminance": 0.49873
}

Semantic roles & 50–950 ramp

primary
#AFC55F
secondary
#B4ABD5
accent
#51D66E
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140D
muted
#82837D

Preview Lab

Preview with #AFC55F

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

Preview Lab → · Contrast checker → · Palette generator →

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