#C2CD62#C2CD62

#C2CD62 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.132 H 114.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C2CD62
RGBrgb(194, 205, 98)
HSLhsl(66, 52%, 59%)
HSVhsv(66, 52%, 80%)
CMYKcmyk(5.4%, 0%, 52.2%, 19.6%)
CIE-LABlab(79.62, -18.79, 51.32)
CIE-LCHlch(79.62, 54.65, 110.11°)
OKLaboklab(81.78% -0.0542 0.1206)
OKLCHoklch(81.78% 0.132 114.2)
XYZxyz(46.2849, 56.0145, 19.9265)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD62 #6D62CD
analogous
#CDA362 #C2CD62 #8DCD62
triadic
#C2CD62 #62C2CD #CD62C2
tetradic
#C2CD62 #62CDA3 #6D62CD #CD628D
square
#C2CD62 #62CDA3 #6D62CD #CD628D
split-complementary
#C2CD62 #628DCD #A362CD
monochromatic
#7F892C #ABB73A #C2CD62 #D4DC90 #E6EBBF

Accessibility & contrast

On white

1.72
#C2CD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#C2CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD62
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD62#FFFFFF#000000##000000
##C2CD621.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#CDC3B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd62;
/* rgb */ color: rgb(194, 205, 98);
/* oklch */ color: oklch(81.8% 0.132 114.2);
Tailwind
colors: {
  custom: {
    50: '#d6dc92',
    500: '#c2cd62',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd62;
$custom-light: #d6dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd62",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 66.168,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.13227,
    "h": 114.2
  },
  "luminance": 0.56014
}

Semantic roles & 50–950 ramp

primary
#C2CD62
secondary
#4B4390
accent
#4DDB5B
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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