#C5F262#C5F262

#C5F262 is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.2% C 0.177 H 124.5°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#C5F262
RGBrgb(197, 242, 98)
HSLhsl(79, 85%, 67%)
HSVhsv(79, 60%, 95%)
CMYKcmyk(18.6%, 0%, 59.5%, 5.1%)
CIE-LABlab(89.98, -35.20, 63.15)
CIE-LCHlch(89.98, 72.29, 119.13°)
OKLaboklab(90.15% -0.1004 0.146)
OKLCHoklch(90.15% 0.177 124.5)
XYZxyz(56.9830, 76.2559, 23.2697)
Luminance0.7626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F262 #8F62F2
analogous
#F2D762 #C5F262 #7DF262
triadic
#C5F262 #62C5F2 #F262C5
tetradic
#C5F262 #62F2D7 #8F62F2 #F2627D
square
#C5F262 #62F2D7 #8F62F2 #F2627D
split-complementary
#C5F262 #627DF2 #D762F2
monochromatic
#8FC911 #B0ED29 #C5F262 #DAF79B #EFFBD3

Accessibility & contrast

On white

1.29
#C5F262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#C5F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F262
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F262#FFFFFF#000000##000000
##C5F2621.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE452
Deuteranopia (green-blind)
#F8E26C
Tritanopia (blue-blind)
#CDE7D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f262;
/* rgb */ color: rgb(197, 242, 98);
/* oklch */ color: oklch(90.2% 0.177 124.5);
Tailwind
colors: {
  custom: {
    50: '#d9f694',
    500: '#c5f262',
    950: '#000000',
  },
}
SCSS
$custom: #c5f262;
$custom-light: #d9f694;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f262",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 78.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90153,
    "c": 0.17715,
    "h": 124.5
  },
  "luminance": 0.76256
}

Semantic roles & 50–950 ramp

primary
#C5F262
secondary
#6133C6
accent
#04E149
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F262

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

Preview Lab → · Contrast checker → · Palette generator →

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