#C2D451#C2D451

#C2D451 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.1% C 0.155 H 116.5°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#C2D451
RGBrgb(194, 212, 81)
HSLhsl(68, 60%, 57%)
HSVhsv(68, 62%, 83%)
CMYKcmyk(8.5%, 0%, 61.8%, 16.9%)
CIE-LABlab(81.37, -23.55, 60.81)
CIE-LCHlch(81.37, 65.21, 111.17°)
OKLaboklab(83.13% -0.0694 0.139)
OKLCHoklch(83.13% 0.155 116.5)
XYZxyz(47.2778, 59.1510, 16.7097)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D451 #6351D4
analogous
#D4A451 #C2D451 #81D451
triadic
#C2D451 #51C2D4 #D451C2
tetradic
#C2D451 #51D4A4 #6351D4 #D45181
square
#C2D451 #51D4A4 #6351D4 #D45181
split-complementary
#C2D451 #5181D4 #A451D4
monochromatic
#7B8922 #A7BA2E #C2D451 #D3E082 #E4ECB3

Accessibility & contrast

On white

1.64
#C2D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#C2D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D451
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D451#FFFFFF#000000##000000
##C2D4511.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#CDC9B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d451;
/* rgb */ color: rgb(194, 212, 81);
/* oklch */ color: oklch(83.1% 0.155 116.5);
Tailwind
colors: {
  custom: {
    50: '#d7e187',
    500: '#c2d451',
    950: '#000000',
  },
}
SCSS
$custom: #c2d451;
$custom-light: #d7e187;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d451",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 68.244,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83132,
    "c": 0.15532,
    "h": 116.5
  },
  "luminance": 0.5915
}

Semantic roles & 50–950 ramp

primary
#C2D451
secondary
#463A8F
accent
#44E45A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D451

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

Preview Lab → · Contrast checker → · Palette generator →

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