#C2CD4C#C2CD4C

#C2CD4C is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.5% C 0.151 H 113.9°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#C2CD4C
RGBrgb(194, 205, 76)
HSLhsl(65, 56%, 55%)
HSVhsv(65, 63%, 80%)
CMYKcmyk(5.4%, 0%, 62.9%, 19.6%)
CIE-LABlab(79.42, -20.47, 60.79)
CIE-LCHlch(79.42, 64.14, 108.61°)
OKLaboklab(81.55% -0.0612 0.1382)
OKLCHoklch(81.55% 0.151 113.9)
XYZxyz(45.3851, 55.6546, 15.1877)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD4C #574CCD
analogous
#CD974C #C2CD4C #82CD4C
triadic
#C2CD4C #4CC2CD #CD4CC2
tetradic
#C2CD4C #4CCD97 #574CCD #CD4C82
square
#C2CD4C #4CCD97 #574CCD #CD4C82
split-complementary
#C2CD4C #4C82CD #974CCD
monochromatic
#747C23 #A1AC30 #C2CD4C #D2DA7C #E3E8AC

Accessibility & contrast

On white

1.73
#C2CD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#C2CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD4C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD4C#FFFFFF#000000##000000
##C2CD4C1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43C
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#CEC2B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd4c;
/* rgb */ color: rgb(194, 205, 76);
/* oklch */ color: oklch(81.5% 0.151 113.9);
Tailwind
colors: {
  custom: {
    50: '#d7dc84',
    500: '#c2cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd4c;
$custom-light: #d7dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd4c",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 65.116,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8155,
    "c": 0.15119,
    "h": 113.9
  },
  "luminance": 0.55654
}

Semantic roles & 50–950 ramp

primary
#C2CD4C
secondary
#403984
accent
#48E055
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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