#C5F671#C5F671

#C5F671 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.2% C 0.170 H 126.4°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#C5F671
RGBrgb(197, 246, 113)
HSLhsl(82, 88%, 70%)
HSVhsv(82, 54%, 96%)
CMYKcmyk(19.9%, 0%, 54.1%, 3.5%)
CIE-LABlab(91.22, -35.73, 58.05)
CIE-LCHlch(91.22, 68.17, 121.61°)
OKLaboklab(91.2% -0.1006 0.1366)
OKLCHoklch(91.2% 0.17 126.4)
XYZxyz(58.9623, 78.9734, 27.7566)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F671 #A271F6
analogous
#F6E471 #C5F671 #83F671
triadic
#C5F671 #71C5F6 #F671C5
tetradic
#C5F671 #71F6E4 #A271F6 #F67183
square
#C5F671 #71F6E4 #A271F6 #F67183
split-complementary
#C5F671 #7183F6 #E471F6
monochromatic
#92DE0E #ADF237 #C5F671 #DDFAAB #F3FDE2

Accessibility & contrast

On white

1.25
#C5F671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#C5F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F671
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F671#FFFFFF#000000##000000
##C5F6711.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FBE57A
Tritanopia (blue-blind)
#CCECD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #c5f671;
/* rgb */ color: rgb(197, 246, 113);
/* oklch */ color: oklch(91.2% 0.170 126.4);
Tailwind
colors: {
  custom: {
    50: '#d9f99d',
    500: '#c5f671',
    950: '#000000',
  },
}
SCSS
$custom: #c5f671;
$custom-light: #d9f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f671",
  "rgb": {
    "r": 197,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 82.105,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91203,
    "c": 0.16962,
    "h": 126.4
  },
  "luminance": 0.78974
}

Semantic roles & 50–950 ramp

primary
#C5F671
secondary
#723BD0
accent
#01E555
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F671

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

Preview Lab → · Contrast checker → · Palette generator →

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