#C8C841#C8C841

#C8C841 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.9% C 0.152 H 109.4°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#C8C841
RGBrgb(200, 200, 65)
HSLhsl(60, 55%, 52%)
HSVhsv(60, 68%, 78%)
CMYKcmyk(0%, 0%, 67.5%, 21.6%)
CIE-LABlab(78.44, -16.16, 64.29)
CIE-LCHlch(78.44, 66.29, 104.11°)
OKLaboklab(80.86% -0.0506 0.1438)
OKLCHoklch(80.86% 0.152 109.4)
XYZxyz(45.4294, 53.9709, 13.0244)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C841 #4141C8
analogous
#C88541 #C8C841 #85C841
triadic
#C8C841 #41C8C8 #C841C8
tetradic
#C8C841 #41C885 #4141C8 #C84185
square
#C8C841 #41C885 #4141C8 #C84185
split-complementary
#C8C841 #4185C8 #8541C8
monochromatic
#6F6F20 #9E9E2E #C8C841 #D6D670 #E3E3A0

Accessibility & contrast

On white

1.78
#C8C841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#C8C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C841
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C841#FFFFFF#000000##000000
##C8C8411.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02C
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#D6BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c841;
/* rgb */ color: rgb(200, 200, 65);
/* oklch */ color: oklch(80.9% 0.152 109.4);
Tailwind
colors: {
  custom: {
    50: '#dcd87d',
    500: '#c8c841',
    950: '#000000',
  },
}
SCSS
$custom: #c8c841;
$custom-light: #dcd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c841",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80862,
    "c": 0.15242,
    "h": 109.4
  },
  "luminance": 0.5397
}

Semantic roles & 50–950 ramp

primary
#C8C841
secondary
#353578
accent
#49DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C841

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

Preview Lab → · Contrast checker → · Palette generator →

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