#C0CD27#C0CD27

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

Color values

HEX#C0CD27
RGBrgb(192, 205, 39)
HSLhsl(65, 68%, 48%)
HSVhsv(65, 81%, 80%)
CMYKcmyk(6.3%, 0%, 81%, 19.6%)
CIE-LABlab(79.05, -23.10, 72.98)
CIE-LCHlch(79.05, 76.54, 107.56°)
OKLaboklab(81.15% -0.0716 0.158)
OKLCHoklch(81.15% 0.174 114.4)
XYZxyz(43.9371, 55.0165, 10.2238)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD27 #3427CD
analogous
#CD8727 #C0CD27 #6DCD27
triadic
#C0CD27 #27C0CD #CD27C0
tetradic
#C0CD27 #27CD87 #3427CD #CD276D
square
#C0CD27 #27CD87 #3427CD #CD276D
split-complementary
#C0CD27 #276DCD #8727CD
monochromatic
#606613 #909A1D #C0CD27 #D3DE53 #E0E886

Accessibility & contrast

On white

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

On black

12.00
#C0CD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD27
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD27#FFFFFF#000000##000000
##C0CD271.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DCC538
Tritanopia (blue-blind)
#CDC0AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd27;
/* rgb */ color: rgb(192, 205, 39);
/* oklch */ color: oklch(81.2% 0.173 114.4);
Tailwind
colors: {
  custom: {
    50: '#d7dc72',
    500: '#c0cd27',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd27;
$custom-light: #d7dc72;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd27",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 39
  },
  "hsl": {
    "h": 64.699,
    "s": 68.033,
    "l": 47.843
  },
  "oklch": {
    "l": 0.81151,
    "c": 0.1735,
    "h": 114.4
  },
  "luminance": 0.55016
}

Semantic roles & 50–950 ramp

primary
#C0CD27
secondary
#2E2870
accent
#3DEB4B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0CD27

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

Preview Lab → · Contrast checker → · Palette generator →

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