#C2D751#C2D751

#C2D751 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 83.8% C 0.159 H 117.5°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#C2D751
RGBrgb(194, 215, 81)
HSLhsl(69, 63%, 58%)
HSVhsv(69, 62%, 84%)
CMYKcmyk(9.8%, 0%, 62.3%, 15.7%)
CIE-LABlab(82.20, -25.00, 61.69)
CIE-LCHlch(82.20, 66.57, 112.06°)
OKLaboklab(83.79% -0.0734 0.1408)
OKLCHoklch(83.79% 0.159 117.5)
XYZxyz(48.0347, 60.6648, 16.9620)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D751 #6651D7
analogous
#D7A951 #C2D751 #7FD751
triadic
#C2D751 #51C2D7 #D751C2
tetradic
#C2D751 #51D7A9 #6651D7 #D7517F
square
#C2D751 #51D7A9 #6651D7 #D7517F
split-complementary
#C2D751 #517FD7 #A951D7
monochromatic
#7C8D20 #A8BF2C #C2D751 #D3E283 #E5EEB5

Accessibility & contrast

On white

1.60
#C2D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#C2D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D751
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D751#FFFFFF#000000##000000
##C2D7511.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC40
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#CDCCBB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c2d751;
/* rgb */ color: rgb(194, 215, 81);
/* oklch */ color: oklch(83.8% 0.159 117.5);
Tailwind
colors: {
  custom: {
    50: '#d7e388',
    500: '#c2d751',
    950: '#000000',
  },
}
SCSS
$custom: #c2d751;
$custom-light: #d7e388;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d751",
  "rgb": {
    "r": 194,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 69.403,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83793,
    "c": 0.15882,
    "h": 117.5
  },
  "luminance": 0.60664
}

Semantic roles & 50–950 ramp

primary
#C2D751
secondary
#473993
accent
#42E65C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D751

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

Preview Lab → · Contrast checker → · Palette generator →

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