#C0D142#C0D142

#C0D142 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.2% C 0.163 H 116.0°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#C0D142
RGBrgb(192, 209, 66)
HSLhsl(67, 61%, 54%)
HSVhsv(67, 68%, 82%)
CMYKcmyk(8.1%, 0%, 68.4%, 18%)
CIE-LABlab(80.29, -23.85, 65.57)
CIE-LCHlch(80.29, 69.77, 109.99°)
OKLaboklab(82.19% -0.0715 0.1469)
OKLCHoklch(82.19% 0.163 116)
XYZxyz(45.5232, 57.2014, 13.7960)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D142 #5342D1
analogous
#D19B42 #C0D142 #79D142
triadic
#C0D142 #42C0D1 #D142C0
tetradic
#C0D142 #42D19B #5342D1 #D14279
square
#C0D142 #42D19B #5342D1 #D14279
split-complementary
#C0D142 #4279D1 #9B42D1
monochromatic
#707B1E #9CAC2A #C0D142 #D0DD73 #E1E9A4

Accessibility & contrast

On white

1.69
#C0D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#C0D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D142
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D142#FFFFFF#000000##000000
##C0D1421.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#DEC84D
Tritanopia (blue-blind)
#CCC5B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c0d142;
/* rgb */ color: rgb(192, 209, 66);
/* oklch */ color: oklch(82.2% 0.163 116.0);
Tailwind
colors: {
  custom: {
    50: '#d6df7f',
    500: '#c0d142',
    950: '#000000',
  },
}
SCSS
$custom: #c0d142;
$custom-light: #d6df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d142",
  "rgb": {
    "r": 192,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 67.133,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82192,
    "c": 0.16335,
    "h": 116
  },
  "luminance": 0.57201
}

Semantic roles & 50–950 ramp

primary
#C0D142
secondary
#3E3583
accent
#44E457
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0D142

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

Preview Lab → · Contrast checker → · Palette generator →

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