#C0CD2A#C0CD2A

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

Color values

HEX#C0CD2A
RGBrgb(192, 205, 42)
HSLhsl(65, 66%, 48%)
HSVhsv(65, 80%, 80%)
CMYKcmyk(6.3%, 0%, 79.5%, 19.6%)
CIE-LABlab(79.06, -23.00, 72.20)
CIE-LCHlch(79.06, 75.77, 107.67°)
OKLaboklab(81.16% -0.0712 0.1568)
OKLCHoklch(81.16% 0.172 114.4)
XYZxyz(43.9888, 55.0371, 10.4960)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD2A #372ACD
analogous
#CD882A #C0CD2A #6ECD2A
triadic
#C0CD2A #2AC0CD #CD2AC0
tetradic
#C0CD2A #2ACD88 #372ACD #CD2A6E
square
#C0CD2A #2ACD88 #372ACD #CD2A6E
split-complementary
#C0CD2A #2A6ECD #882ACD
monochromatic
#616715 #909A20 #C0CD2A #D2DD58 #E0E78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CD2A#FFFFFF#000000##000000
##C0CD2A1.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)
#DCC53A
Tritanopia (blue-blind)
#CDC1B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd2a;
/* rgb */ color: rgb(192, 205, 42);
/* oklch */ color: oklch(81.2% 0.172 114.4);
Tailwind
colors: {
  custom: {
    50: '#d7dc73',
    500: '#c0cd2a',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd2a;
$custom-light: #d7dc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd2a",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 42
  },
  "hsl": {
    "h": 64.785,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81164,
    "c": 0.17223,
    "h": 114.4
  },
  "luminance": 0.55036
}

Semantic roles & 50–950 ramp

primary
#C0CD2A
secondary
#2F2A71
accent
#3FE94C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0CD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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