#C8E262#C8E262

#C8E262 is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.8% C 0.156 H 119.4°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#C8E262
RGBrgb(200, 226, 98)
HSLhsl(72, 69%, 64%)
HSVhsv(72, 57%, 89%)
CMYKcmyk(11.5%, 0%, 56.6%, 11.4%)
CIE-LABlab(85.78, -26.61, 58.51)
CIE-LCHlch(85.78, 64.27, 114.45°)
OKLaboklab(86.83% -0.0766 0.136)
OKLCHoklch(86.83% 0.156 119.4)
XYZxyz(53.2211, 67.5542, 21.7884)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E262 #7C62E2
analogous
#E2BC62 #C8E262 #88E262
triadic
#C8E262 #62C8E2 #E262C8
tetradic
#C8E262 #62E2BC #7C62E2 #E26288
square
#C8E262 #62E2BC #7C62E2 #E26288
split-complementary
#C8E262 #6288E2 #BC62E2
monochromatic
#8EAA1F #B6D82E #C8E262 #DAEC96 #ECF5C9

Accessibility & contrast

On white

1.45
#C8E262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#C8E262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E262
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E262#FFFFFF#000000##000000
##C8E2621.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD754
Deuteranopia (green-blind)
#ECD76A
Tritanopia (blue-blind)
#D2D7C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c8e262;
/* rgb */ color: rgb(200, 226, 98);
/* oklch */ color: oklch(86.8% 0.156 119.4);
Tailwind
colors: {
  custom: {
    50: '#dbeb93',
    500: '#c8e262',
    950: '#000000',
  },
}
SCSS
$custom: #c8e262;
$custom-light: #dbeb93;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e262",
  "rgb": {
    "r": 200,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 72.188,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86826,
    "c": 0.1561,
    "h": 119.4
  },
  "luminance": 0.67554
}

Semantic roles & 50–950 ramp

primary
#C8E262
secondary
#533CAC
accent
#15D13B
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C8E262

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

Preview Lab → · Contrast checker → · Palette generator →

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