#C8C540#C8C540

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

Color values

HEX#C8C540
RGBrgb(200, 197, 64)
HSLhsl(59, 55%, 52%)
HSVhsv(59, 68%, 78%)
CMYKcmyk(0%, 1.5%, 68%, 21.6%)
CIE-LABlab(77.63, -14.70, 63.85)
CIE-LCHlch(77.63, 65.53, 102.97°)
OKLaboklab(80.21% -0.0466 0.1427)
OKLCHoklch(80.21% 0.15 108.1)
XYZxyz(44.7127, 52.5834, 12.6438)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C540 #4043C8
analogous
#C88140 #C8C540 #87C840
triadic
#C8C540 #40C8C5 #C540C8
tetradic
#C8C540 #40C881 #4043C8 #C84087
square
#C8C540 #40C881 #4043C8 #C84087
split-complementary
#C8C540 #4087C8 #8140C8
monochromatic
#6E6C20 #9D9B2D #C8C540 #D6D370 #E3E29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C540#FFFFFF#000000##000000
##C8C5401.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)
#D5BD2C
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#D6B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c540;
/* rgb */ color: rgb(200, 197, 64);
/* oklch */ color: oklch(80.2% 0.150 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcd67d',
    500: '#c8c540',
    950: '#000000',
  },
}
SCSS
$custom: #c8c540;
$custom-light: #dcd67d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c540",
  "rgb": {
    "r": 200,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 58.676,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80208,
    "c": 0.15011,
    "h": 108.1
  },
  "luminance": 0.52582
}

Semantic roles & 50–950 ramp

primary
#C8C540
secondary
#353677
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C540

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

Preview Lab → · Contrast checker → · Palette generator →

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