#C1CD52#C1CD52

#C1CD52 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.147 H 114.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C1CD52
RGBrgb(193, 205, 82)
HSLhsl(66, 55%, 56%)
HSVhsv(66, 60%, 80%)
CMYKcmyk(5.9%, 0%, 60%, 19.6%)
CIE-LABlab(79.39, -20.47, 58.22)
CIE-LCHlch(79.39, 61.71, 109.37°)
OKLaboklab(81.53% -0.0605 0.1336)
OKLCHoklch(81.53% 0.147 114.4)
XYZxyz(45.3477, 55.6101, 16.3260)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CD52 #5E52CD
analogous
#CD9C52 #C1CD52 #84CD52
triadic
#C1CD52 #52C1CD #CD52C1
tetradic
#C1CD52 #52CD9C #5E52CD #CD5284
square
#C1CD52 #52CD9C #5E52CD #CD5284
split-complementary
#C1CD52 #5284CD #9C52CD
monochromatic
#778025 #A3AF33 #C1CD52 #D2DB81 #E3E8B1

Accessibility & contrast

On white

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

On black

12.12
#C1CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CD52
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CD52#FFFFFF#000000##000000
##C1CD521.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1cd52;
/* rgb */ color: rgb(193, 205, 82);
/* oklch */ color: oklch(81.5% 0.147 114.4);
Tailwind
colors: {
  custom: {
    50: '#d6dc88',
    500: '#c1cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c1cd52;
$custom-light: #d6dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cd52",
  "rgb": {
    "r": 193,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 65.854,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81527,
    "c": 0.14671,
    "h": 114.4
  },
  "luminance": 0.55609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C1CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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