#C2D738#C2D738

#C2D738 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.6% C 0.175 H 117.0°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#C2D738
RGBrgb(194, 215, 56)
HSLhsl(68, 67%, 53%)
HSVhsv(68, 74%, 84%)
CMYKcmyk(9.8%, 0%, 74%, 15.7%)
CIE-LABlab(82.03, -26.42, 70.79)
CIE-LCHlch(82.03, 75.56, 110.47°)
OKLaboklab(83.61% -0.0797 0.1562)
OKLCHoklch(83.61% 0.175 117)
XYZxyz(47.2636, 60.3563, 12.9007)
Luminance0.6036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D738 #4D38D7
analogous
#D79D38 #C2D738 #72D738
triadic
#C2D738 #38C2D7 #D738C2
tetradic
#C2D738 #38D79D #4D38D7 #D73872
square
#C2D738 #38D79D #4D38D7 #D73872
split-complementary
#C2D738 #3872D7 #9D38D7
monochromatic
#6F7C19 #9CAF23 #C2D738 #D2E16B #E1EB9E

Accessibility & contrast

On white

1.61
#C2D738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#C2D738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D738
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D738#FFFFFF#000000##000000
##C2D7381.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB14
Deuteranopia (green-blind)
#E4CD46
Tritanopia (blue-blind)
#CECBB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c2d738;
/* rgb */ color: rgb(194, 215, 56);
/* oklch */ color: oklch(83.6% 0.175 117.0);
Tailwind
colors: {
  custom: {
    50: '#d8e37a',
    500: '#c2d738',
    950: '#000000',
  },
}
SCSS
$custom: #c2d738;
$custom-light: #d8e37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d738",
  "rgb": {
    "r": 194,
    "g": 215,
    "b": 56
  },
  "hsl": {
    "h": 67.925,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83606,
    "c": 0.17531,
    "h": 117
  },
  "luminance": 0.60356
}

Semantic roles & 50–950 ramp

primary
#C2D738
secondary
#3B3083
accent
#3EE955
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D738

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

Preview Lab → · Contrast checker → · Palette generator →

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