#C2D336#C2D336

#C2D336 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.7% C 0.172 H 115.8°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#C2D336
RGBrgb(194, 211, 54)
HSLhsl(66, 64%, 52%)
HSVhsv(66, 74%, 83%)
CMYKcmyk(8.1%, 0%, 74.4%, 17.3%)
CIE-LABlab(80.92, -24.60, 70.39)
CIE-LCHlch(80.92, 74.56, 109.26°)
OKLaboklab(82.71% -0.0748 0.155)
OKLCHoklch(82.71% 0.172 115.8)
XYZxyz(46.2095, 58.3249, 12.3129)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D336 #4736D3
analogous
#D39636 #C2D336 #74D336
triadic
#C2D336 #36C2D3 #D336C2
tetradic
#C2D336 #36D396 #4736D3 #D33674
square
#C2D336 #36D396 #4736D3 #D33674
split-complementary
#C2D336 #3674D3 #9636D3
monochromatic
#6B751A #99A725 #C2D336 #D1DE68 #E0E99A

Accessibility & contrast

On white

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

On black

12.66
#C2D336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D336
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D336#FFFFFF#000000##000000
##C2D3361.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C810
Deuteranopia (green-blind)
#E1CA44
Tritanopia (blue-blind)
#CFC7B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d336;
/* rgb */ color: rgb(194, 211, 54);
/* oklch */ color: oklch(82.7% 0.172 115.8);
Tailwind
colors: {
  custom: {
    50: '#d8e079',
    500: '#c2d336',
    950: '#000000',
  },
}
SCSS
$custom: #c2d336;
$custom-light: #d8e079;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d336",
  "rgb": {
    "r": 194,
    "g": 211,
    "b": 54
  },
  "hsl": {
    "h": 66.497,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82709,
    "c": 0.17207,
    "h": 115.8
  },
  "luminance": 0.58324
}

Semantic roles & 50–950 ramp

primary
#C2D336
secondary
#38307D
accent
#41E753
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D336

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

Preview Lab → · Contrast checker → · Palette generator →

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