#C7EB52#C7EB52

#C7EB52 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.6% C 0.180 H 121.6°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#C7EB52
RGBrgb(199, 235, 82)
HSLhsl(74, 79%, 62%)
HSVhsv(74, 65%, 92%)
CMYKcmyk(15.3%, 0%, 65.1%, 7.8%)
CIE-LABlab(88.05, -32.38, 67.59)
CIE-LCHlch(88.05, 74.94, 115.60°)
OKLaboklab(88.59% -0.0941 0.1533)
OKLCHoklch(88.59% 0.18 121.6)
XYZxyz(54.7852, 72.1680, 19.0246)
Luminance0.7217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EB52 #7652EB
analogous
#EBC352 #C7EB52 #7AEB52
triadic
#C7EB52 #52C7EB #EB52C7
tetradic
#C7EB52 #52EBC3 #7652EB #EB527A
square
#C7EB52 #52EBC3 #7652EB #EB527A
split-complementary
#C7EB52 #527AEB #C352EB
monochromatic
#8AAE14 #B5E51B #C7EB52 #D9F189 #EBF8C0

Accessibility & contrast

On white

1.36
#C7EB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#C7EB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7EB52
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7EB52#FFFFFF#000000##000000
##C7EB521.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3D
Deuteranopia (green-blind)
#F4DD5D
Tritanopia (blue-blind)
#D1DFCC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c7eb52;
/* rgb */ color: rgb(199, 235, 82);
/* oklch */ color: oklch(88.6% 0.180 121.6);
Tailwind
colors: {
  custom: {
    50: '#dbf18a',
    500: '#c7eb52',
    950: '#000000',
  },
}
SCSS
$custom: #c7eb52;
$custom-light: #dbf18a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7eb52",
  "rgb": {
    "r": 199,
    "g": 235,
    "b": 82
  },
  "hsl": {
    "h": 74.118,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88589,
    "c": 0.17989,
    "h": 121.6
  },
  "luminance": 0.72168
}

Semantic roles & 50–950 ramp

primary
#C7EB52
secondary
#5032AF
accent
#0ADC3B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C7EB52

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

Preview Lab → · Contrast checker → · Palette generator →

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