#C7E95B#C7E95B

#C7E95B is a very light, vivid yellow-green. Relative luminance 0.712; OKLCH L 88.2% C 0.171 H 121.4°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#C7E95B
RGBrgb(199, 233, 91)
HSLhsl(74, 76%, 64%)
HSVhsv(74, 61%, 91%)
CMYKcmyk(14.6%, 0%, 60.9%, 8.6%)
CIE-LABlab(87.57, -30.83, 63.46)
CIE-LCHlch(87.57, 70.55, 115.91°)
OKLaboklab(88.23% -0.089 0.1458)
OKLCHoklch(88.23% 0.171 121.4)
XYZxyz(54.5810, 71.1753, 20.7583)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E95B #7D5BE9
analogous
#E9C45B #C7E95B #80E95B
triadic
#C7E95B #5BC7E9 #E95BC7
tetradic
#C7E95B #5BE9C4 #7D5BE9 #E95B80
square
#C7E95B #5BE9C4 #7D5BE9 #E95B80
split-complementary
#C7E95B #5B80E9 #C45BE9
monochromatic
#8DB218 #B5E225 #C7E95B #D9F091 #ECF7C7

Accessibility & contrast

On white

1.38
#C7E95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#C7E95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E95B
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E95B#FFFFFF#000000##000000
##C7E95B1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4A
Deuteranopia (green-blind)
#F2DC65
Tritanopia (blue-blind)
#D1DECB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c7e95b;
/* rgb */ color: rgb(199, 233, 91);
/* oklch */ color: oklch(88.2% 0.171 121.4);
Tailwind
colors: {
  custom: {
    50: '#dbf08f',
    500: '#c7e95b',
    950: '#000000',
  },
}
SCSS
$custom: #c7e95b;
$custom-light: #dbf08f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e95b",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 91
  },
  "hsl": {
    "h": 74.366,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88225,
    "c": 0.17078,
    "h": 121.4
  },
  "luminance": 0.71175
}

Semantic roles & 50–950 ramp

primary
#C7E95B
secondary
#5436B2
accent
#0DD93E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7E95B

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

Preview Lab → · Contrast checker → · Palette generator →

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