#C0CD51#C0CD51

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

Color values

HEX#C0CD51
RGBrgb(192, 205, 81)
HSLhsl(66, 55%, 56%)
HSVhsv(66, 60%, 80%)
CMYKcmyk(6.3%, 0%, 60.5%, 19.6%)
CIE-LABlab(79.31, -20.95, 58.53)
CIE-LCHlch(79.31, 62.17, 109.69°)
OKLaboklab(81.44% -0.0619 0.1342)
OKLCHoklch(81.44% 0.148 114.8)
XYZxyz(45.0558, 55.4639, 16.1151)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD51 #5E51CD
analogous
#CD9C51 #C0CD51 #82CD51
triadic
#C0CD51 #51C0CD #CD51C0
tetradic
#C0CD51 #51CD9C #5E51CD #CD5182
square
#C0CD51 #51CD9C #5E51CD #CD5182
split-complementary
#C0CD51 #5182CD #9C51CD
monochromatic
#767F25 #A2AF32 #C0CD51 #D1DB81 #E2E8B0

Accessibility & contrast

On white

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

On black

12.09
#C0CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD51
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD51#FFFFFF#000000##000000
##C0CD511.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cd51;
/* rgb */ color: rgb(192, 205, 81);
/* oklch */ color: oklch(81.4% 0.148 114.8);
Tailwind
colors: {
  custom: {
    50: '#d6dc87',
    500: '#c0cd51',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd51;
$custom-light: #d6dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd51",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 66.29,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.1478,
    "h": 114.8
  },
  "luminance": 0.55463
}

Semantic roles & 50–950 ramp

primary
#C0CD51
secondary
#433B87
accent
#49DF59
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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