#C0CE40#C0CE40

#C0CE40 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.5% C 0.161 H 114.9°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#C0CE40
RGBrgb(192, 206, 64)
HSLhsl(66, 59%, 53%)
HSVhsv(66, 69%, 81%)
CMYKcmyk(6.8%, 0%, 68.9%, 19.2%)
CIE-LABlab(79.45, -22.51, 65.47)
CIE-LCHlch(79.45, 69.23, 108.97°)
OKLaboklab(81.52% -0.068 0.1463)
OKLCHoklch(81.52% 0.161 114.9)
XYZxyz(44.7361, 55.7200, 13.2479)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CE40 #4E40CE
analogous
#CE9540 #C0CE40 #79CE40
triadic
#C0CE40 #40C0CE #CE40C0
tetradic
#C0CE40 #40CE95 #4E40CE #CE4079
square
#C0CE40 #40CE95 #4E40CE #CE4079
split-complementary
#C0CE40 #4079CE #9540CE
monochromatic
#6D751E #9AA62B #C0CE40 #D0DA71 #E0E7A1

Accessibility & contrast

On white

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

On black

12.14
#C0CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CE40
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CE40#FFFFFF#000000##000000
##C0CE401.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0ce40;
/* rgb */ color: rgb(192, 206, 64);
/* oklch */ color: oklch(81.5% 0.161 114.9);
Tailwind
colors: {
  custom: {
    50: '#d6dc7d',
    500: '#c0ce40',
    950: '#000000',
  },
}
SCSS
$custom: #c0ce40;
$custom-light: #d6dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ce40",
  "rgb": {
    "r": 192,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 65.915,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81515,
    "c": 0.16135,
    "h": 114.9
  },
  "luminance": 0.55719
}

Semantic roles & 50–950 ramp

primary
#C0CE40
secondary
#3B347E
accent
#45E255
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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