#C8C545#C8C545

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

Color values

HEX#C8C545
RGBrgb(200, 197, 69)
HSLhsl(59, 54%, 53%)
HSVhsv(59, 66%, 78%)
CMYKcmyk(0%, 1.5%, 65.5%, 21.6%)
CIE-LABlab(77.66, -14.43, 61.94)
CIE-LCHlch(77.66, 63.60, 103.11°)
OKLaboklab(80.25% -0.0453 0.1395)
OKLCHoklch(80.25% 0.147 108)
XYZxyz(44.8614, 52.6429, 13.4270)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C545 #4548C8
analogous
#C88345 #C8C545 #89C845
triadic
#C8C545 #45C8C5 #C545C8
tetradic
#C8C545 #45C883 #4548C8 #C84589
square
#C8C545 #45C883 #4548C8 #C84589
split-complementary
#C8C545 #4589C8 #8345C8
monochromatic
#716F21 #A09E2F #C8C545 #D6D474 #E4E2A3

Accessibility & contrast

On white

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

On black

11.53
#C8C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C545
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C545#FFFFFF#000000##000000
##C8C5451.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD33
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#D6B9AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c545;
/* rgb */ color: rgb(200, 197, 69);
/* oklch */ color: oklch(80.2% 0.147 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcd67f',
    500: '#c8c545',
    950: '#000000',
  },
}
SCSS
$custom: #c8c545;
$custom-light: #dcd67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c545",
  "rgb": {
    "r": 200,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 58.626,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80248,
    "c": 0.14664,
    "h": 108
  },
  "luminance": 0.52642
}

Semantic roles & 50–950 ramp

primary
#C8C545
secondary
#37387A
accent
#4DDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C545

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

Preview Lab → · Contrast checker → · Palette generator →

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