#C0CD3A#C0CD3A

#C0CD3A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.3% C 0.164 H 114.5°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C0CD3A
RGBrgb(192, 205, 58)
HSLhsl(65, 60%, 52%)
HSVhsv(65, 72%, 80%)
CMYKcmyk(6.3%, 0%, 71.7%, 19.6%)
CIE-LABlab(79.14, -22.33, 67.31)
CIE-LCHlch(79.14, 70.92, 108.35°)
OKLaboklab(81.25% -0.068 0.1492)
OKLCHoklch(81.25% 0.164 114.5)
XYZxyz(44.3345, 55.1754, 12.3166)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD3A #473ACD
analogous
#CD913A #C0CD3A #77CD3A
triadic
#C0CD3A #3AC0CD #CD3AC0
tetradic
#C0CD3A #3ACD91 #473ACD #CD3A77
square
#C0CD3A #3ACD91 #473ACD #CD3A77
split-complementary
#C0CD3A #3A77CD #913ACD
monochromatic
#69701C #96A129 #C0CD3A #D0D96B #DFE69C

Accessibility & contrast

On white

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

On black

12.04
#C0CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD3A
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD3A#FFFFFF#000000##000000
##C0CD3A1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#CDC1B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd3a;
/* rgb */ color: rgb(192, 205, 58);
/* oklch */ color: oklch(81.3% 0.164 114.5);
Tailwind
colors: {
  custom: {
    50: '#d7dc7a',
    500: '#c0cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd3a;
$custom-light: #d7dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd3a",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 65.306,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81253,
    "c": 0.16401,
    "h": 114.5
  },
  "luminance": 0.55175
}

Semantic roles & 50–950 ramp

primary
#C0CD3A
secondary
#383279
accent
#45E353
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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