#C2CD52#C2CD52

#C2CD52 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.146 H 114.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#C2CD52
RGBrgb(194, 205, 82)
HSLhsl(65, 55%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(5.4%, 0%, 60%, 19.6%)
CIE-LABlab(79.47, -20.06, 58.32)
CIE-LCHlch(79.47, 61.67, 108.98°)
OKLaboklab(81.61% -0.0595 0.1338)
OKLCHoklch(81.61% 0.146 114)
XYZxyz(45.6035, 55.7420, 16.3379)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD52 #5D52CD
analogous
#CD9B52 #C2CD52 #85CD52
triadic
#C2CD52 #52C2CD #CD52C2
tetradic
#C2CD52 #52CD9B #5D52CD #CD5285
square
#C2CD52 #52CD9B #5D52CD #CD5285
split-complementary
#C2CD52 #5285CD #9B52CD
monochromatic
#788025 #A4AF33 #C2CD52 #D3DB81 #E3E8B1

Accessibility & contrast

On white

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

On black

12.15
#C2CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD52
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD52#FFFFFF#000000##000000
##C2CD521.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#CEC2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd52;
/* rgb */ color: rgb(194, 205, 82);
/* oklch */ color: oklch(81.6% 0.146 114.0);
Tailwind
colors: {
  custom: {
    50: '#d7dc88',
    500: '#c2cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd52;
$custom-light: #d7dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd52",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 65.366,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81606,
    "c": 0.14644,
    "h": 114
  },
  "luminance": 0.55741
}

Semantic roles & 50–950 ramp

primary
#C2CD52
secondary
#433C87
accent
#49DE57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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