#C2D742#C2D742

#C2D742 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.7% C 0.169 H 117.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#C2D742
RGBrgb(194, 215, 66)
HSLhsl(68, 65%, 55%)
HSVhsv(68, 69%, 84%)
CMYKcmyk(9.8%, 0%, 69.3%, 15.7%)
CIE-LABlab(82.09, -25.92, 67.41)
CIE-LCHlch(82.09, 72.22, 111.03°)
OKLaboklab(83.67% -0.0774 0.1507)
OKLCHoklch(83.67% 0.169 117.2)
XYZxyz(47.5330, 60.4641, 14.3199)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D742 #5742D7
analogous
#D7A142 #C2D742 #78D742
triadic
#C2D742 #42C2D7 #D742C2
tetradic
#C2D742 #42D7A1 #5742D7 #D74278
square
#C2D742 #42D7A1 #5742D7 #D74278
split-complementary
#C2D742 #4278D7 #A142D7
monochromatic
#74831C #A1B526 #C2D742 #D2E275 #E3ECA7

Accessibility & contrast

On white

1.60
#C2D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#C2D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D742
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D742#FFFFFF#000000##000000
##C2D7421.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC29
Deuteranopia (green-blind)
#E3CD4E
Tritanopia (blue-blind)
#CECBBA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c2d742;
/* rgb */ color: rgb(194, 215, 66);
/* oklch */ color: oklch(83.7% 0.169 117.2);
Tailwind
colors: {
  custom: {
    50: '#d8e37f',
    500: '#c2d742',
    950: '#000000',
  },
}
SCSS
$custom: #c2d742;
$custom-light: #d8e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d742",
  "rgb": {
    "r": 194,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 68.456,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83671,
    "c": 0.16941,
    "h": 117.2
  },
  "luminance": 0.60464
}

Semantic roles & 50–950 ramp

primary
#C2D742
secondary
#40348A
accent
#40E857
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D742

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

Preview Lab → · Contrast checker → · Palette generator →

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