#C8C643#C8C643

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

Color values

HEX#C8C643
RGBrgb(200, 198, 67)
HSLhsl(59, 55%, 52%)
HSVhsv(59, 67%, 78%)
CMYKcmyk(0%, 1%, 66.5%, 21.6%)
CIE-LABlab(77.92, -15.04, 62.99)
CIE-LCHlch(77.92, 64.76, 103.43°)
OKLaboklab(80.45% -0.0472 0.1414)
OKLCHoklch(80.45% 0.149 108.5)
XYZxyz(45.0282, 53.0741, 13.1815)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C643 #4345C8
analogous
#C88443 #C8C643 #87C843
triadic
#C8C643 #43C8C6 #C643C8
tetradic
#C8C643 #43C884 #4345C8 #C84387
square
#C8C643 #43C884 #4345C8 #C84387
split-complementary
#C8C643 #4387C8 #8443C8
monochromatic
#706F21 #9F9E2F #C8C643 #D6D472 #E4E3A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C643#FFFFFF#000000##000000
##C8C6431.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)
#D6BE30
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#D6BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c643;
/* rgb */ color: rgb(200, 198, 67);
/* oklch */ color: oklch(80.4% 0.149 108.5);
Tailwind
colors: {
  custom: {
    50: '#dcd77e',
    500: '#c8c643',
    950: '#000000',
  },
}
SCSS
$custom: #c8c643;
$custom-light: #dcd77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c643",
  "rgb": {
    "r": 200,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 59.098,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80447,
    "c": 0.14905,
    "h": 108.5
  },
  "luminance": 0.53073
}

Semantic roles & 50–950 ramp

primary
#C8C643
secondary
#363779
accent
#4CDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C643

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

Preview Lab → · Contrast checker → · Palette generator →

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