#C2CD27#C2CD27

#C2CD27 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.3% C 0.173 H 113.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C2CD27
RGBrgb(194, 205, 39)
HSLhsl(64, 68%, 48%)
HSVhsv(64, 81%, 80%)
CMYKcmyk(5.4%, 0%, 81%, 19.6%)
CIE-LABlab(79.20, -22.26, 73.17)
CIE-LCHlch(79.20, 76.48, 106.92°)
OKLaboklab(81.31% -0.0694 0.1583)
OKLCHoklch(81.31% 0.173 113.7)
XYZxyz(44.4471, 55.2794, 10.2477)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD27 #3227CD
analogous
#CD8527 #C2CD27 #6FCD27
triadic
#C2CD27 #27C2CD #CD27C2
tetradic
#C2CD27 #27CD85 #3227CD #CD276F
square
#C2CD27 #27CD85 #3227CD #CD276F
split-complementary
#C2CD27 #276FCD #8527CD
monochromatic
#616613 #919A1D #C2CD27 #D5DE53 #E2E886

Accessibility & contrast

On white

1.74
#C2CD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#C2CD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD27
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD27#FFFFFF#000000##000000
##C2CD271.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DCC638
Tritanopia (blue-blind)
#CFC0AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd27;
/* rgb */ color: rgb(194, 205, 39);
/* oklch */ color: oklch(81.3% 0.173 113.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc72',
    500: '#c2cd27',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd27;
$custom-light: #d9dc72;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd27",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 39
  },
  "hsl": {
    "h": 63.976,
    "s": 68.033,
    "l": 47.843
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.17288,
    "h": 113.7
  },
  "luminance": 0.55278
}

Semantic roles & 50–950 ramp

primary
#C2CD27
secondary
#2D2870
accent
#3DEB48
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2CD27

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

Preview Lab → · Contrast checker → · Palette generator →

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