#C0D240#C0D240

#C0D240 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.4% C 0.166 H 116.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#C0D240
RGBrgb(192, 210, 64)
HSLhsl(67, 62%, 54%)
HSVhsv(67, 70%, 82%)
CMYKcmyk(8.6%, 0%, 69.5%, 17.6%)
CIE-LABlab(80.56, -24.45, 66.57)
CIE-LCHlch(80.56, 70.91, 110.17°)
OKLaboklab(82.4% -0.0734 0.1486)
OKLCHoklch(82.4% 0.166 116.3)
XYZxyz(45.7113, 57.6705, 13.5730)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D240 #5240D2
analogous
#D29B40 #C0D240 #77D240
triadic
#C0D240 #40C0D2 #D240C0
tetradic
#C0D240 #40D29B #5240D2 #D24077
square
#C0D240 #40D29B #5240D2 #D24077
split-complementary
#C0D240 #4077D2 #9B40D2
monochromatic
#6F7B1D #9CAC29 #C0D240 #D0DE72 #E1E9A3

Accessibility & contrast

On white

1.68
#C0D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#C0D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D240
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D240#FFFFFF#000000##000000
##C0D2401.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#CCC6B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c0d240;
/* rgb */ color: rgb(192, 210, 64);
/* oklch */ color: oklch(82.4% 0.166 116.3);
Tailwind
colors: {
  custom: {
    50: '#d6df7e',
    500: '#c0d240',
    950: '#000000',
  },
}
SCSS
$custom: #c0d240;
$custom-light: #d6df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d240",
  "rgb": {
    "r": 192,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 67.397,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.16576,
    "h": 116.3
  },
  "luminance": 0.5767
}

Semantic roles & 50–950 ramp

primary
#C0D240
secondary
#3D3483
accent
#43E557
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0D240

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

Preview Lab → · Contrast checker → · Palette generator →

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