#C7F26A#C7F26A

#C7F26A is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.4% C 0.170 H 124.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#C7F26A
RGBrgb(199, 242, 106)
HSLhsl(79, 84%, 68%)
HSVhsv(79, 56%, 95%)
CMYKcmyk(17.8%, 0%, 56.2%, 5.1%)
CIE-LABlab(90.18, -33.79, 59.97)
CIE-LCHlch(90.18, 68.84, 119.40°)
OKLaboklab(90.37% -0.0959 0.14)
OKLCHoklch(90.37% 0.17 124.4)
XYZxyz(57.9070, 76.6865, 25.3841)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F26A #956AF2
analogous
#F2D96A #C7F26A #83F26A
triadic
#C7F26A #6AC7F2 #F26AC7
tetradic
#C7F26A #6AF2D9 #956AF2 #F26A83
square
#C7F26A #6AF2D9 #956AF2 #F26A83
split-complementary
#C7F26A #6A83F2 #D96AF2
monochromatic
#94CF12 #B2ED32 #C7F26A #DCF7A2 #F1FCDB

Accessibility & contrast

On white

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

On black

16.34
#C7F26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F26A
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F26A#FFFFFF#000000##000000
##C7F26A1.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE45C
Deuteranopia (green-blind)
#F8E273
Tritanopia (blue-blind)
#CFE7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c7f26a;
/* rgb */ color: rgb(199, 242, 106);
/* oklch */ color: oklch(90.4% 0.170 124.4);
Tailwind
colors: {
  custom: {
    50: '#dbf699',
    500: '#c7f26a',
    950: '#000000',
  },
}
SCSS
$custom: #c7f26a;
$custom-light: #dbf699;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f26a",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 106
  },
  "hsl": {
    "h": 78.971,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90369,
    "c": 0.16969,
    "h": 124.4
  },
  "luminance": 0.76687
}

Semantic roles & 50–950 ramp

primary
#C7F26A
secondary
#6536CB
accent
#05E04A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C7F26A

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

Preview Lab → · Contrast checker → · Palette generator →

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