#C0CE2C#C0CE2C

#C0CE2C is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.4% C 0.172 H 114.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C0CE2C
RGBrgb(192, 206, 44)
HSLhsl(65, 65%, 49%)
HSVhsv(65, 79%, 81%)
CMYKcmyk(6.8%, 0%, 78.6%, 19.2%)
CIE-LABlab(79.35, -23.41, 71.90)
CIE-LCHlch(79.35, 75.61, 108.04°)
OKLaboklab(81.4% -0.0722 0.1566)
OKLCHoklch(81.4% 0.172 114.7)
XYZxyz(44.2655, 55.5318, 10.7692)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CE2C #3A2CCE
analogous
#CE8B2C #C0CE2C #6FCE2C
triadic
#C0CE2C #2CC0CE #CE2CC0
tetradic
#C0CE2C #2CCE8B #3A2CCE #CE2C6F
square
#C0CE2C #2CCE8B #3A2CCE #CE2C6F
split-complementary
#C0CE2C #2C6FCE #8B2CCE
monochromatic
#626916 #919C21 #C0CE2C #D1DC5B #DFE78E

Accessibility & contrast

On white

1.73
#C0CE2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C0CE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CE2C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CE2C#FFFFFF#000000##000000
##C0CE2C1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DCC63C
Tritanopia (blue-blind)
#CDC2B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0ce2c;
/* rgb */ color: rgb(192, 206, 44);
/* oklch */ color: oklch(81.4% 0.172 114.7);
Tailwind
colors: {
  custom: {
    50: '#d7dc74',
    500: '#c0ce2c',
    950: '#000000',
  },
}
SCSS
$custom: #c0ce2c;
$custom-light: #d7dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ce2c",
  "rgb": {
    "r": 192,
    "g": 206,
    "b": 44
  },
  "hsl": {
    "h": 65.185,
    "s": 64.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.81395,
    "c": 0.17238,
    "h": 114.7
  },
  "luminance": 0.55531
}

Semantic roles & 50–950 ramp

primary
#C0CE2C
secondary
#312B73
accent
#40E84F
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0CE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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