#C0CD52#C0CD52

#C0CD52 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.4% C 0.147 H 114.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#C0CD52
RGBrgb(192, 205, 82)
HSLhsl(66, 55%, 56%)
HSVhsv(66, 60%, 80%)
CMYKcmyk(6.3%, 0%, 60%, 19.6%)
CIE-LABlab(79.32, -20.88, 58.11)
CIE-LCHlch(79.32, 61.75, 109.76°)
OKLaboklab(81.45% -0.0616 0.1334)
OKLCHoklch(81.45% 0.147 114.8)
XYZxyz(45.0935, 55.4790, 16.3140)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD52 #5F52CD
analogous
#CD9D52 #C0CD52 #83CD52
triadic
#C0CD52 #52C0CD #CD52C0
tetradic
#C0CD52 #52CD9D #5F52CD #CD5283
square
#C0CD52 #52CD9D #5F52CD #CD5283
split-complementary
#C0CD52 #5283CD #9D52CD
monochromatic
#768025 #A2AF33 #C0CD52 #D1DB81 #E3E8B1

Accessibility & contrast

On white

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

On black

12.10
#C0CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD52
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD52#FFFFFF#000000##000000
##C0CD521.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC344
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#CBC2B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd52;
/* rgb */ color: rgb(192, 205, 82);
/* oklch */ color: oklch(81.4% 0.147 114.8);
Tailwind
colors: {
  custom: {
    50: '#d6dc88',
    500: '#c0cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd52;
$custom-light: #d6dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd52",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 66.341,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.14698,
    "h": 114.8
  },
  "luminance": 0.55478
}

Semantic roles & 50–950 ramp

primary
#C0CD52
secondary
#443C87
accent
#49DE59
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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