#C2D151#C2D151

#C2D151 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.5% C 0.152 H 115.5°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#C2D151
RGBrgb(194, 209, 81)
HSLhsl(67, 58%, 57%)
HSVhsv(67, 61%, 82%)
CMYKcmyk(7.2%, 0%, 61.2%, 18%)
CIE-LABlab(80.55, -22.09, 59.92)
CIE-LCHlch(80.55, 63.87, 110.24°)
OKLaboklab(82.47% -0.0653 0.1371)
OKLCHoklch(82.47% 0.152 115.5)
XYZxyz(46.5348, 57.6650, 16.4620)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D151 #6051D1
analogous
#D1A051 #C2D151 #82D151
triadic
#C2D151 #51C2D1 #D151C2
tetradic
#C2D151 #51D1A0 #6051D1 #D15182
square
#C2D151 #51D1A0 #6051D1 #D15182
split-complementary
#C2D151 #5182D1 #A051D1
monochromatic
#798523 #A5B530 #C2D151 #D3DE81 #E4EBB2

Accessibility & contrast

On white

1.68
#C2D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#C2D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D151
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D151#FFFFFF#000000##000000
##C2D1511.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#CDC6B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d151;
/* rgb */ color: rgb(194, 209, 81);
/* oklch */ color: oklch(82.5% 0.152 115.5);
Tailwind
colors: {
  custom: {
    50: '#d7df87',
    500: '#c2d151',
    950: '#000000',
  },
}
SCSS
$custom: #c2d151;
$custom-light: #d7df87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d151",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 67.031,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82473,
    "c": 0.15184,
    "h": 115.5
  },
  "luminance": 0.57664
}

Semantic roles & 50–950 ramp

primary
#C2D151
secondary
#443B8B
accent
#46E159
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D151

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

Preview Lab → · Contrast checker → · Palette generator →

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