#C2D351#C2D351

#C2D351 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 82.9% C 0.154 H 116.2°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#C2D351
RGBrgb(194, 211, 81)
HSLhsl(68, 60%, 57%)
HSVhsv(68, 62%, 83%)
CMYKcmyk(8.1%, 0%, 61.6%, 17.3%)
CIE-LABlab(81.10, -23.07, 60.51)
CIE-LCHlch(81.10, 64.76, 110.87°)
OKLaboklab(82.91% -0.068 0.1384)
OKLCHoklch(82.91% 0.154 116.2)
XYZxyz(47.0286, 58.6526, 16.6266)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D351 #6251D3
analogous
#D3A351 #C2D351 #81D351
triadic
#C2D351 #51C2D3 #D351C2
tetradic
#C2D351 #51D3A3 #6251D3 #D35181
square
#C2D351 #51D3A3 #6251D3 #D35181
split-complementary
#C2D351 #5181D3 #A351D3
monochromatic
#7A8722 #A6B82F #C2D351 #D3DF82 #E4ECB3

Accessibility & contrast

On white

1.65
#C2D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#C2D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D351
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D351#FFFFFF#000000##000000
##C2D3511.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#CDC8B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d351;
/* rgb */ color: rgb(194, 211, 81);
/* oklch */ color: oklch(82.9% 0.154 116.2);
Tailwind
colors: {
  custom: {
    50: '#d7e087',
    500: '#c2d351',
    950: '#000000',
  },
}
SCSS
$custom: #c2d351;
$custom-light: #d7e087;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d351",
  "rgb": {
    "r": 194,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 67.846,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82912,
    "c": 0.15416,
    "h": 116.2
  },
  "luminance": 0.58652
}

Semantic roles & 50–950 ramp

primary
#C2D351
secondary
#453A8E
accent
#45E35A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D351

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

Preview Lab → · Contrast checker → · Palette generator →

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