#C8C640#C8C640

#C8C640 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.4% C 0.151 H 108.5°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C8C640
RGBrgb(200, 198, 64)
HSLhsl(59, 55%, 52%)
HSVhsv(59, 68%, 78%)
CMYKcmyk(0%, 1%, 68%, 21.6%)
CIE-LABlab(77.90, -15.21, 64.12)
CIE-LCHlch(77.90, 65.90, 103.34°)
OKLaboklab(80.42% -0.048 0.1433)
OKLCHoklch(80.42% 0.151 108.5)
XYZxyz(44.9405, 53.0391, 12.7198)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C640 #4042C8
analogous
#C88240 #C8C640 #86C840
triadic
#C8C640 #40C8C6 #C640C8
tetradic
#C8C640 #40C882 #4042C8 #C84086
square
#C8C640 #40C882 #4042C8 #C84086
split-complementary
#C8C640 #4086C8 #8240C8
monochromatic
#6E6D20 #9D9C2D #C8C640 #D6D470 #E3E29F

Accessibility & contrast

On white

1.81
#C8C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#C8C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C640
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C640#FFFFFF#000000##000000
##C8C6401.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#D6B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c640;
/* rgb */ color: rgb(200, 198, 64);
/* oklch */ color: oklch(80.4% 0.151 108.5);
Tailwind
colors: {
  custom: {
    50: '#dcd77d',
    500: '#c8c640',
    950: '#000000',
  },
}
SCSS
$custom: #c8c640;
$custom-light: #dcd77d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c640",
  "rgb": {
    "r": 200,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 59.118,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80424,
    "c": 0.15109,
    "h": 108.5
  },
  "luminance": 0.53038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C640

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

Preview Lab → · Contrast checker → · Palette generator →

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