#C0CD45#C0CD45

#C0CD45 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.3% C 0.157 H 114.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C0CD45
RGBrgb(192, 205, 69)
HSLhsl(66, 58%, 54%)
HSVhsv(66, 66%, 80%)
CMYKcmyk(6.3%, 0%, 66.3%, 19.6%)
CIE-LABlab(79.21, -21.73, 63.33)
CIE-LCHlch(79.21, 66.96, 108.94°)
OKLaboklab(81.33% -0.0653 0.1426)
OKLCHoklch(81.33% 0.157 114.6)
XYZxyz(44.6449, 55.2996, 13.9511)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD45 #5245CD
analogous
#CD9645 #C0CD45 #7CCD45
triadic
#C0CD45 #45C0CD #CD45C0
tetradic
#C0CD45 #45CD96 #5245CD #CD457C
square
#C0CD45 #45CD96 #5245CD #CD457C
split-complementary
#C0CD45 #457CCD #9645CD
monochromatic
#6F7720 #9CA82D #C0CD45 #D0DA75 #E1E7A5

Accessibility & contrast

On white

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

On black

12.06
#C0CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD45
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD45#FFFFFF#000000##000000
##C0CD451.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC331
Deuteranopia (green-blind)
#DBC54F
Tritanopia (blue-blind)
#CCC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd45;
/* rgb */ color: rgb(192, 205, 69);
/* oklch */ color: oklch(81.3% 0.157 114.6);
Tailwind
colors: {
  custom: {
    50: '#d6dc80',
    500: '#c0cd45',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd45;
$custom-light: #d6dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd45",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 65.735,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81333,
    "c": 0.15688,
    "h": 114.6
  },
  "luminance": 0.55299
}

Semantic roles & 50–950 ramp

primary
#C0CD45
secondary
#3D3680
accent
#47E156
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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