#C2D337#C2D337

#C2D337 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.67:1 contrast (WCAG AA passes).

Color values

HEX#C2D337
RGBrgb(194, 211, 55)
HSLhsl(67, 64%, 52%)
HSVhsv(67, 74%, 83%)
CMYKcmyk(8.1%, 0%, 73.9%, 17.3%)
CIE-LABlab(80.92, -24.55, 70.07)
CIE-LCHlch(80.92, 74.25, 109.31°)
OKLaboklab(82.72% -0.0746 0.1545)
OKLCHoklch(82.72% 0.172 115.8)
XYZxyz(46.2332, 58.3344, 12.4378)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D337 #4837D3
analogous
#D39637 #C2D337 #74D337
triadic
#C2D337 #37C2D3 #D337C2
tetradic
#C2D337 #37D396 #4837D3 #D33774
square
#C2D337 #37D396 #4837D3 #D33774
split-complementary
#C2D337 #3774D3 #9637D3
monochromatic
#6C761A #9AA825 #C2D337 #D1DE69 #E1E99B

Accessibility & contrast

On white

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

On black

12.67
#C2D337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D337
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D337#FFFFFF#000000##000000
##C2D3371.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2d337;
/* rgb */ color: rgb(194, 211, 55);
/* oklch */ color: oklch(82.7% 0.172 115.8);
Tailwind
colors: {
  custom: {
    50: '#d8e079',
    500: '#c2d337',
    950: '#000000',
  },
}
SCSS
$custom: #c2d337;
$custom-light: #d8e079;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d337",
  "rgb": {
    "r": 194,
    "g": 211,
    "b": 55
  },
  "hsl": {
    "h": 66.538,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82715,
    "c": 0.17153,
    "h": 115.8
  },
  "luminance": 0.58334
}

Semantic roles & 50–950 ramp

primary
#C2D337
secondary
#39307E
accent
#41E753
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D337

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

Preview Lab → · Contrast checker → · Palette generator →

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