#C7F04B#C7F04B

#C7F04B is a very light, vivid yellow-green. Relative luminance 0.750; OKLCH L 89.6% C 0.190 H 122.5°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#C7F04B
RGBrgb(199, 240, 75)
HSLhsl(75, 85%, 62%)
HSVhsv(75, 69%, 94%)
CMYKcmyk(17.1%, 0%, 68.7%, 5.9%)
CIE-LABlab(89.38, -35.09, 71.56)
CIE-LCHlch(89.38, 79.71, 116.12°)
OKLaboklab(89.65% -0.1023 0.1607)
OKLCHoklch(89.65% 0.19 122.5)
XYZxyz(55.9840, 74.9701, 18.1766)
Luminance0.7497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F04B #744BF0
analogous
#F0C64B #C7F04B #75F04B
triadic
#C7F04B #4BC7F0 #F04BC7
tetradic
#C7F04B #4BF0C6 #744BF0 #F04B75
square
#C7F04B #4BF0C6 #744BF0 #F04B75
split-complementary
#C7F04B #4B75F0 #C64BF0
monochromatic
#89B20F #B5EA14 #C7F04B #D9F583 #EAF9BC

Accessibility & contrast

On white

1.31
#C7F04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#C7F04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F04B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F04B#FFFFFF#000000##000000
##C7F04B1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE230
Deuteranopia (green-blind)
#F9E159
Tritanopia (blue-blind)
#D1E4CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c7f04b;
/* rgb */ color: rgb(199, 240, 75);
/* oklch */ color: oklch(89.6% 0.190 122.5);
Tailwind
colors: {
  custom: {
    50: '#dcf586',
    500: '#c7f04b',
    950: '#000000',
  },
}
SCSS
$custom: #c7f04b;
$custom-light: #dcf586;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f04b",
  "rgb": {
    "r": 199,
    "g": 240,
    "b": 75
  },
  "hsl": {
    "h": 74.909,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89646,
    "c": 0.19044,
    "h": 122.5
  },
  "luminance": 0.7497
}

Semantic roles & 50–950 ramp

primary
#C7F04B
secondary
#4E2DB2
accent
#04E13B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C7F04B

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

Preview Lab → · Contrast checker → · Palette generator →

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