#C2CD34#C2CD34

#C2CD34 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.167 H 113.7°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C2CD34
RGBrgb(194, 205, 52)
HSLhsl(64, 60%, 50%)
HSVhsv(64, 75%, 80%)
CMYKcmyk(5.4%, 0%, 74.6%, 19.6%)
CIE-LABlab(79.26, -21.77, 69.48)
CIE-LCHlch(79.26, 72.81, 107.40°)
OKLaboklab(81.38% -0.0671 0.1527)
OKLCHoklch(81.38% 0.167 113.7)
XYZxyz(44.7007, 55.3808, 11.5830)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD34 #3F34CD
analogous
#CD8C34 #C2CD34 #75CD34
triadic
#C2CD34 #34C2CD #CD34C2
tetradic
#C2CD34 #34CD8C #3F34CD #CD3475
square
#C2CD34 #34CD8C #3F34CD #CD3475
split-complementary
#C2CD34 #3475CD #8C34CD
monochromatic
#666C1B #959D27 #C2CD34 #D1D965 #E0E596

Accessibility & contrast

On white

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

On black

12.08
#C2CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD34
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD34#FFFFFF#000000##000000
##C2CD341.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC30F
Deuteranopia (green-blind)
#DCC641
Tritanopia (blue-blind)
#CFC1B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd34;
/* rgb */ color: rgb(194, 205, 52);
/* oklch */ color: oklch(81.4% 0.167 113.7);
Tailwind
colors: {
  custom: {
    50: '#d8dc77',
    500: '#c2cd34',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd34;
$custom-light: #d8dc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd34",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 64.314,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81375,
    "c": 0.16681,
    "h": 113.7
  },
  "luminance": 0.5538
}

Semantic roles & 50–950 ramp

primary
#C2CD34
secondary
#353076
accent
#44E450
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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