#C2D256#C2D256

#C2D256 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.7% C 0.149 H 115.9°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#C2D256
RGBrgb(194, 210, 86)
HSLhsl(68, 58%, 58%)
HSVhsv(68, 59%, 82%)
CMYKcmyk(7.6%, 0%, 59%, 17.6%)
CIE-LABlab(80.87, -22.22, 58.14)
CIE-LCHlch(80.87, 62.24, 110.92°)
OKLaboklab(82.74% -0.0651 0.1339)
OKLCHoklch(82.74% 0.149 115.9)
XYZxyz(46.9754, 58.2350, 17.5681)
Luminance0.5823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D256 #6656D2
analogous
#D2A456 #C2D256 #84D256
triadic
#C2D256 #56C2D2 #D256C2
tetradic
#C2D256 #56D2A4 #6656D2 #D25684
square
#C2D256 #56D2A4 #6656D2 #D25684
split-complementary
#C2D256 #5684D2 #A456D2
monochromatic
#7C8925 #A8B931 #C2D256 #D3DF86 #E5ECB7

Accessibility & contrast

On white

1.66
#C2D256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#C2D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D256
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D256#FFFFFF#000000##000000
##C2D2561.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC848
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#CDC7B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d256;
/* rgb */ color: rgb(194, 210, 86);
/* oklch */ color: oklch(82.7% 0.149 115.9);
Tailwind
colors: {
  custom: {
    50: '#d7df8a',
    500: '#c2d256',
    950: '#000000',
  },
}
SCSS
$custom: #c2d256;
$custom-light: #d7df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d256",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 67.742,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82741,
    "c": 0.14893,
    "h": 115.9
  },
  "luminance": 0.58234
}

Semantic roles & 50–950 ramp

primary
#C2D256
secondary
#473D90
accent
#47E15B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D256

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

Preview Lab → · Contrast checker → · Palette generator →

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