#C0CD38#C0CD38

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

Color values

HEX#C0CD38
RGBrgb(192, 205, 56)
HSLhsl(65, 60%, 51%)
HSVhsv(65, 73%, 80%)
CMYKcmyk(6.3%, 0%, 72.7%, 19.6%)
CIE-LABlab(79.13, -22.42, 67.99)
CIE-LCHlch(79.13, 71.59, 108.25°)
OKLaboklab(81.24% -0.0685 0.1503)
OKLCHoklch(81.24% 0.165 114.5)
XYZxyz(44.2846, 55.1555, 12.0538)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD38 #4538CD
analogous
#CD8F38 #C0CD38 #75CD38
triadic
#C0CD38 #38C0CD #CD38C0
tetradic
#C0CD38 #38CD8F #4538CD #CD3875
square
#C0CD38 #38CD8F #4538CD #CD3875
split-complementary
#C0CD38 #3875CD #8F38CD
monochromatic
#686F1C #95A028 #C0CD38 #CFD969 #DFE69A

Accessibility & contrast

On white

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

On black

12.03
#C0CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD38
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD38#FFFFFF#000000##000000
##C0CD381.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cd38;
/* rgb */ color: rgb(192, 205, 56);
/* oklch */ color: oklch(81.2% 0.165 114.5);
Tailwind
colors: {
  custom: {
    50: '#d7dc79',
    500: '#c0cd38',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd38;
$custom-light: #d7dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd38",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 65.235,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8124,
    "c": 0.16517,
    "h": 114.5
  },
  "luminance": 0.55155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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