#C8C541#C8C541

#C8C541 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.2% C 0.149 H 108.1°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#C8C541
RGBrgb(200, 197, 65)
HSLhsl(59, 55%, 52%)
HSVhsv(59, 68%, 78%)
CMYKcmyk(0%, 1.5%, 67.5%, 21.6%)
CIE-LABlab(77.64, -14.65, 63.48)
CIE-LCHlch(77.64, 65.15, 103.00°)
OKLaboklab(80.22% -0.0463 0.1421)
OKLCHoklch(80.22% 0.149 108.1)
XYZxyz(44.7414, 52.5949, 12.7950)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C541 #4144C8
analogous
#C88241 #C8C541 #87C841
triadic
#C8C541 #41C8C5 #C541C8
tetradic
#C8C541 #41C882 #4144C8 #C84187
square
#C8C541 #41C882 #4144C8 #C84187
split-complementary
#C8C541 #4187C8 #8241C8
monochromatic
#6F6D20 #9E9C2E #C8C541 #D6D370 #E3E2A0

Accessibility & contrast

On white

1.82
#C8C541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#C8C541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C541
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C541#FFFFFF#000000##000000
##C8C5411.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2D
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#D6B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c541;
/* rgb */ color: rgb(200, 197, 65);
/* oklch */ color: oklch(80.2% 0.149 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcd67d',
    500: '#c8c541',
    950: '#000000',
  },
}
SCSS
$custom: #c8c541;
$custom-light: #dcd67d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c541",
  "rgb": {
    "r": 200,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 58.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80216,
    "c": 0.14943,
    "h": 108.1
  },
  "luminance": 0.52594
}

Semantic roles & 50–950 ramp

primary
#C8C541
secondary
#353778
accent
#4DDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C541

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

Preview Lab → · Contrast checker → · Palette generator →

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