#C0CD2C#C0CD2C

#C0CD2C is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.2% C 0.171 H 114.4°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#C0CD2C
RGBrgb(192, 205, 44)
HSLhsl(65, 65%, 49%)
HSVhsv(65, 79%, 80%)
CMYKcmyk(6.3%, 0%, 78.5%, 19.6%)
CIE-LABlab(79.07, -22.92, 71.65)
CIE-LCHlch(79.07, 75.23, 107.74°)
OKLaboklab(81.17% -0.0708 0.156)
OKLCHoklch(81.17% 0.171 114.4)
XYZxyz(44.0255, 55.0518, 10.6893)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD2C #392CCD
analogous
#CD8A2C #C0CD2C #70CD2C
triadic
#C0CD2C #2CC0CD #CD2CC0
tetradic
#C0CD2C #2CCD8A #392CCD #CD2C70
square
#C0CD2C #2CCD8A #392CCD #CD2C70
split-complementary
#C0CD2C #2C70CD #8A2CCD
monochromatic
#626816 #919B21 #C0CD2C #D1DC5B #DFE78D

Accessibility & contrast

On white

1.75
#C0CD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#C0CD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD2C
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD2C#FFFFFF#000000##000000
##C0CD2C1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DCC53B
Tritanopia (blue-blind)
#CDC1B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd2c;
/* rgb */ color: rgb(192, 205, 44);
/* oklch */ color: oklch(81.2% 0.171 114.4);
Tailwind
colors: {
  custom: {
    50: '#d7dc74',
    500: '#c0cd2c',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd2c;
$custom-light: #d7dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd2c",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 64.845,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81174,
    "c": 0.17134,
    "h": 114.4
  },
  "luminance": 0.55051
}

Semantic roles & 50–950 ramp

primary
#C0CD2C
secondary
#312B72
accent
#40E84E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0CD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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