#C7DE3A#C7DE3A

#C7DE3A is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.5% C 0.180 H 117.5°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#C7DE3A
RGBrgb(199, 222, 58)
HSLhsl(68, 71%, 55%)
HSVhsv(68, 74%, 87%)
CMYKcmyk(10.4%, 0%, 73.9%, 12.9%)
CIE-LABlab(84.32, -27.63, 72.43)
CIE-LCHlch(84.32, 77.52, 110.88°)
OKLaboklab(85.54% -0.0831 0.1598)
OKLCHoklch(85.54% 0.18 117.5)
XYZxyz(50.4394, 64.6907, 13.8316)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DE3A #513ADE
analogous
#DEA33A #C7DE3A #75DE3A
triadic
#C7DE3A #3AC7DE #DE3AC7
tetradic
#C7DE3A #3ADEA3 #513ADE #DE3A75
square
#C7DE3A #3ADEA3 #513ADE #DE3A75
split-complementary
#C7DE3A #3A75DE #A33ADE
monochromatic
#778717 #A6BB1F #C7DE3A #D6E76E #E5F0A3

Accessibility & contrast

On white

1.51
#C7DE3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#C7DE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DE3A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DE3A#FFFFFF#000000##000000
##C7DE3A1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD214
Deuteranopia (green-blind)
#EBD348
Tritanopia (blue-blind)
#D3D2BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c7de3a;
/* rgb */ color: rgb(199, 222, 58);
/* oklch */ color: oklch(85.5% 0.180 117.5);
Tailwind
colors: {
  custom: {
    50: '#dce87c',
    500: '#c7de3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7de3a;
$custom-light: #dce87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7de3a",
  "rgb": {
    "r": 199,
    "g": 222,
    "b": 58
  },
  "hsl": {
    "h": 68.415,
    "s": 71.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85542,
    "c": 0.18012,
    "h": 117.5
  },
  "luminance": 0.6469
}

Semantic roles & 50–950 ramp

primary
#C7DE3A
secondary
#3C2F8D
accent
#3AEE53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C7DE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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