#C8D142#C8D142

#C8D142 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.8% C 0.161 H 112.9°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#C8D142
RGBrgb(200, 209, 66)
HSLhsl(64, 61%, 54%)
HSVhsv(64, 68%, 82%)
CMYKcmyk(4.3%, 0%, 68.4%, 18%)
CIE-LABlab(80.89, -20.56, 66.36)
CIE-LCHlch(80.89, 69.48, 107.21°)
OKLaboklab(82.82% -0.0628 0.1483)
OKLCHoklch(82.82% 0.161 112.9)
XYZxyz(47.6046, 58.2747, 13.8936)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D142 #4B42D1
analogous
#D19342 #C8D142 #81D142
triadic
#C8D142 #42C8D1 #D142C8
tetradic
#C8D142 #42D193 #4B42D1 #D14281
square
#C8D142 #42D193 #4B42D1 #D14281
split-complementary
#C8D142 #4281D1 #9342D1
monochromatic
#757B1E #A4AC2A #C8D142 #D6DD73 #E5E9A4

Accessibility & contrast

On white

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

On black

12.65
#C8D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D142
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D142#FFFFFF#000000##000000
##C8D1421.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#E0CA4D
Tritanopia (blue-blind)
#D5C5B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8d142;
/* rgb */ color: rgb(200, 209, 66);
/* oklch */ color: oklch(82.8% 0.161 112.9);
Tailwind
colors: {
  custom: {
    50: '#dcde7f',
    500: '#c8d142',
    950: '#000000',
  },
}
SCSS
$custom: #c8d142;
$custom-light: #dcde7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d142",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 63.776,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8282,
    "c": 0.16107,
    "h": 112.9
  },
  "luminance": 0.58274
}

Semantic roles & 50–950 ramp

primary
#C8D142
secondary
#393583
accent
#44E44E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D142

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

Preview Lab → · Contrast checker → · Palette generator →

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