#C7DF52#C7DF52

#C7DF52 is a very light, vivid yellow-green. Relative luminance 0.655; OKLCH L 85.9% C 0.166 H 118.3°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#C7DF52
RGBrgb(199, 223, 82)
HSLhsl(70, 69%, 60%)
HSVhsv(70, 63%, 87%)
CMYKcmyk(10.8%, 0%, 63.2%, 12.5%)
CIE-LABlab(84.75, -26.76, 64.12)
CIE-LCHlch(84.75, 69.48, 112.65°)
OKLaboklab(85.94% -0.0785 0.146)
OKLCHoklch(85.94% 0.166 118.3)
XYZxyz(51.4648, 65.5271, 17.9178)
Luminance0.6553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DF52 #6A52DF
analogous
#DFB152 #C7DF52 #80DF52
triadic
#C7DF52 #52C7DF #DF52C7
tetradic
#C7DF52 #52DFB1 #6A52DF #DF5280
square
#C7DF52 #52DFB1 #6A52DF #DF5280
split-complementary
#C7DF52 #5280DF #B152DF
monochromatic
#859A1D #B1CE26 #C7DF52 #D8E986 #E8F2B9

Accessibility & contrast

On white

1.49
#C7DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#C7DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DF52
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DF52#FFFFFF#000000##000000
##C7DF521.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#D2D3C2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c7df52;
/* rgb */ color: rgb(199, 223, 82);
/* oklch */ color: oklch(85.9% 0.166 118.3);
Tailwind
colors: {
  custom: {
    50: '#dbe989',
    500: '#c7df52',
    950: '#000000',
  },
}
SCSS
$custom: #c7df52;
$custom-light: #dbe989;
$custom-dark: #000000;
JSON
{
  "hex": "#c7df52",
  "rgb": {
    "r": 199,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 70.213,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85938,
    "c": 0.16576,
    "h": 118.3
  },
  "luminance": 0.65527
}

Semantic roles & 50–950 ramp

primary
#C7DF52
secondary
#49379E
accent
#3CEC5A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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