#C0D340#C0D340

#C0D340 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.6% C 0.167 H 116.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#C0D340
RGBrgb(192, 211, 64)
HSLhsl(68, 63%, 54%)
HSVhsv(68, 70%, 83%)
CMYKcmyk(9%, 0%, 69.7%, 17.3%)
CIE-LABlab(80.83, -24.93, 66.84)
CIE-LCHlch(80.83, 71.34, 110.45°)
OKLaboklab(82.62% -0.0747 0.1492)
OKLCHoklch(82.62% 0.167 116.6)
XYZxyz(45.9590, 58.1658, 13.6555)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D340 #5340D3
analogous
#D39D40 #C0D340 #77D340
triadic
#C0D340 #40C0D3 #D340C0
tetradic
#C0D340 #40D39D #5340D3 #D34077
square
#C0D340 #40D39D #5340D3 #D34077
split-complementary
#C0D340 #4077D3 #9D40D3
monochromatic
#707C1D #9CAE28 #C0D340 #D0DE72 #E1EAA3

Accessibility & contrast

On white

1.66
#C0D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#C0D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D340
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D340#FFFFFF#000000##000000
##C0D3401.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C827
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#CCC7B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c0d340;
/* rgb */ color: rgb(192, 211, 64);
/* oklch */ color: oklch(82.6% 0.167 116.6);
Tailwind
colors: {
  custom: {
    50: '#d6e07e',
    500: '#c0d340',
    950: '#000000',
  },
}
SCSS
$custom: #c0d340;
$custom-light: #d6e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d340",
  "rgb": {
    "r": 192,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 67.755,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8262,
    "c": 0.16688,
    "h": 116.6
  },
  "luminance": 0.58165
}

Semantic roles & 50–950 ramp

primary
#C0D340
secondary
#3E3384
accent
#42E657
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0D340

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

Preview Lab → · Contrast checker → · Palette generator →

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