#C0CD34#C0CD34

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

Color values

HEX#C0CD34
RGBrgb(192, 205, 52)
HSLhsl(65, 60%, 50%)
HSVhsv(65, 75%, 80%)
CMYKcmyk(6.3%, 0%, 74.6%, 19.6%)
CIE-LABlab(79.11, -22.61, 69.28)
CIE-LCHlch(79.11, 72.88, 108.07°)
OKLaboklab(81.22% -0.0693 0.1524)
OKLCHoklch(81.22% 0.167 114.5)
XYZxyz(44.1907, 55.1179, 11.5591)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD34 #4134CD
analogous
#CD8D34 #C0CD34 #73CD34
triadic
#C0CD34 #34C0CD #CD34C0
tetradic
#C0CD34 #34CD8D #4134CD #CD3473
square
#C0CD34 #34CD8D #4134CD #CD3473
split-complementary
#C0CD34 #3473CD #8D34CD
monochromatic
#656C1B #939D27 #C0CD34 #CFD965 #DEE596

Accessibility & contrast

On white

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

On black

12.02
#C0CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD34
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD34#FFFFFF#000000##000000
##C0CD341.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cd34;
/* rgb */ color: rgb(192, 205, 52);
/* oklch */ color: oklch(81.2% 0.167 114.5);
Tailwind
colors: {
  custom: {
    50: '#d7dc77',
    500: '#c0cd34',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd34;
$custom-light: #d7dc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd34",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 65.098,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.16738,
    "h": 114.5
  },
  "luminance": 0.55117
}

Semantic roles & 50–950 ramp

primary
#C0CD34
secondary
#363076
accent
#44E452
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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