#C7E04F#C7E04F

#C7E04F is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 86.1% C 0.169 H 118.5°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#C7E04F
RGBrgb(199, 224, 79)
HSLhsl(70, 70%, 59%)
HSVhsv(70, 65%, 88%)
CMYKcmyk(11.2%, 0%, 64.7%, 12.2%)
CIE-LABlab(85.01, -27.43, 65.58)
CIE-LCHlch(85.01, 71.08, 112.70°)
OKLaboklab(86.13% -0.0807 0.1487)
OKLCHoklch(86.13% 0.169 118.5)
XYZxyz(51.6211, 66.0183, 17.4190)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E04F #684FE0
analogous
#E0B14F #C7E04F #7FE04F
triadic
#C7E04F #4FC7E0 #E04FC7
tetradic
#C7E04F #4FE0B1 #684FE0 #E04F7F
square
#C7E04F #4FE0B1 #684FE0 #E04F7F
split-complementary
#C7E04F #4F7FE0 #B14FE0
monochromatic
#849A1B #B0CE24 #C7E04F #D8E983 #E8F2B7

Accessibility & contrast

On white

1.48
#C7E04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#C7E04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E04F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E04F#FFFFFF#000000##000000
##C7E04F1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43B
Deuteranopia (green-blind)
#EBD559
Tritanopia (blue-blind)
#D2D4C2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c7e04f;
/* rgb */ color: rgb(199, 224, 79);
/* oklch */ color: oklch(86.1% 0.169 118.5);
Tailwind
colors: {
  custom: {
    50: '#dbe987',
    500: '#c7e04f',
    950: '#000000',
  },
}
SCSS
$custom: #c7e04f;
$custom-light: #dbe987;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e04f",
  "rgb": {
    "r": 199,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 70.345,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86132,
    "c": 0.16912,
    "h": 118.5
  },
  "luminance": 0.66018
}

Semantic roles & 50–950 ramp

primary
#C7E04F
secondary
#48369D
accent
#3BED5A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7E04F

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

Preview Lab → · Contrast checker → · Palette generator →

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