#C0CE45#C0CE45

#C0CE45 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.6% C 0.158 H 115.0°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C0CE45
RGBrgb(192, 206, 69)
HSLhsl(66, 58%, 54%)
HSVhsv(66, 67%, 81%)
CMYKcmyk(6.8%, 0%, 66.5%, 19.2%)
CIE-LABlab(79.49, -22.22, 63.61)
CIE-LCHlch(79.49, 67.38, 109.26°)
OKLaboklab(81.55% -0.0667 0.1432)
OKLCHoklch(81.55% 0.158 115)
XYZxyz(44.8848, 55.7795, 14.0311)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CE45 #5345CE
analogous
#CE9845 #C0CE45 #7CCE45
triadic
#C0CE45 #45C0CE #CE45C0
tetradic
#C0CE45 #45CE98 #5345CE #CE457C
square
#C0CE45 #45CE98 #5345CE #CE457C
split-complementary
#C0CE45 #457CCE #9845CE
monochromatic
#707920 #9CA92D #C0CE45 #D0DB75 #E1E8A6

Accessibility & contrast

On white

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

On black

12.16
#C0CE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CE45
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CE45#FFFFFF#000000##000000
##C0CE451.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC431
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#CCC2B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0ce45;
/* rgb */ color: rgb(192, 206, 69);
/* oklch */ color: oklch(81.6% 0.158 115.0);
Tailwind
colors: {
  custom: {
    50: '#d6dc80',
    500: '#c0ce45',
    950: '#000000',
  },
}
SCSS
$custom: #c0ce45;
$custom-light: #d6dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ce45",
  "rgb": {
    "r": 192,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 66.131,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81553,
    "c": 0.15799,
    "h": 115
  },
  "luminance": 0.55779
}

Semantic roles & 50–950 ramp

primary
#C0CE45
secondary
#3E3681
accent
#46E256
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CE45

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

Preview Lab → · Contrast checker → · Palette generator →

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