#C0D542#C0D542

#C0D542 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.1% C 0.168 H 117.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#C0D542
RGBrgb(192, 213, 66)
HSLhsl(69, 64%, 55%)
HSVhsv(69, 69%, 84%)
CMYKcmyk(9.9%, 0%, 69%, 16.5%)
CIE-LABlab(81.40, -25.78, 66.67)
CIE-LCHlch(81.40, 71.48, 111.14°)
OKLaboklab(83.08% -0.0769 0.1492)
OKLCHoklch(83.08% 0.168 117.3)
XYZxyz(46.5169, 59.1888, 14.1273)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D542 #5742D5
analogous
#D5A042 #C0D542 #77D542
triadic
#C0D542 #42C0D5 #D542C0
tetradic
#C0D542 #42D5A0 #5742D5 #D54277
square
#C0D542 #42D5A0 #5742D5 #D54277
split-complementary
#C0D542 #4277D5 #A042D5
monochromatic
#72801C #9EB228 #C0D542 #D1E074 #E1EBA6

Accessibility & contrast

On white

1.64
#C0D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#C0D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D542
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D542#FFFFFF#000000##000000
##C0D5421.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2A
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#CCC9B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c0d542;
/* rgb */ color: rgb(192, 213, 66);
/* oklch */ color: oklch(83.1% 0.168 117.3);
Tailwind
colors: {
  custom: {
    50: '#d6e17f',
    500: '#c0d542',
    950: '#000000',
  },
}
SCSS
$custom: #c0d542;
$custom-light: #d6e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d542",
  "rgb": {
    "r": 192,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 68.571,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83078,
    "c": 0.16783,
    "h": 117.3
  },
  "luminance": 0.59188
}

Semantic roles & 50–950 ramp

primary
#C0D542
secondary
#403487
accent
#41E759
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0D542

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

Preview Lab → · Contrast checker → · Palette generator →

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