#C7E35B#C7E35B

#C7E35B is a very light, vivid yellow-green. Relative luminance 0.678; OKLCH L 86.9% C 0.164 H 119.8°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#C7E35B
RGBrgb(199, 227, 91)
HSLhsl(72, 71%, 62%)
HSVhsv(72, 60%, 89%)
CMYKcmyk(12.3%, 0%, 59.9%, 11%)
CIE-LABlab(85.92, -28.01, 61.66)
CIE-LCHlch(85.92, 67.73, 114.43°)
OKLaboklab(86.9% -0.0812 0.142)
OKLCHoklch(86.9% 0.164 119.8)
XYZxyz(52.9113, 67.8358, 20.2017)
Luminance0.6784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E35B #775BE3
analogous
#E3BB5B #C7E35B #83E35B
triadic
#C7E35B #5BC7E3 #E35BC7
tetradic
#C7E35B #5BE3BB #775BE3 #E35B83
square
#C7E35B #5BE3BB #775BE3 #E35B83
split-complementary
#C7E35B #5B83E3 #BB5BE3
monochromatic
#8BA71D #B5DA27 #C7E35B #D9EC8F #EBF5C4

Accessibility & contrast

On white

1.44
#C7E35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#C7E35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E35B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E35B#FFFFFF#000000##000000
##C7E35B1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74B
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#D1D8C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c7e35b;
/* rgb */ color: rgb(199, 227, 91);
/* oklch */ color: oklch(86.9% 0.164 119.8);
Tailwind
colors: {
  custom: {
    50: '#dbeb8f',
    500: '#c7e35b',
    950: '#000000',
  },
}
SCSS
$custom: #c7e35b;
$custom-light: #dbeb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e35b",
  "rgb": {
    "r": 199,
    "g": 227,
    "b": 91
  },
  "hsl": {
    "h": 72.353,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86901,
    "c": 0.16351,
    "h": 119.8
  },
  "luminance": 0.67836
}

Semantic roles & 50–950 ramp

primary
#C7E35B
secondary
#5039A9
accent
#13D33A
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7E35B

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

Preview Lab → · Contrast checker → · Palette generator →

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