#C8C745#C8C745

#C8C745 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.7% C 0.149 H 108.9°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#C8C745
RGBrgb(200, 199, 69)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 66%, 78%)
CMYKcmyk(0%, 0.5%, 65.5%, 21.6%)
CIE-LABlab(78.20, -15.43, 62.49)
CIE-LCHlch(78.20, 64.37, 103.87°)
OKLaboklab(80.68% -0.0481 0.1406)
OKLCHoklch(80.68% 0.149 108.9)
XYZxyz(45.3185, 53.5572, 13.5794)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C745 #4546C8
analogous
#C88545 #C8C745 #87C845
triadic
#C8C745 #45C8C7 #C745C8
tetradic
#C8C745 #45C885 #4546C8 #C84587
square
#C8C745 #45C885 #4546C8 #C84587
split-complementary
#C8C745 #4587C8 #8545C8
monochromatic
#717121 #A0A02F #C8C745 #D6D574 #E4E3A3

Accessibility & contrast

On white

1.79
#C8C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#C8C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C745
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C745#FFFFFF#000000##000000
##C8C7451.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#D6BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c745;
/* rgb */ color: rgb(200, 199, 69);
/* oklch */ color: oklch(80.7% 0.149 108.9);
Tailwind
colors: {
  custom: {
    50: '#dcd780',
    500: '#c8c745',
    950: '#000000',
  },
}
SCSS
$custom: #c8c745;
$custom-light: #dcd780;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c745",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 59.542,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80678,
    "c": 0.14864,
    "h": 108.9
  },
  "luminance": 0.53556
}

Semantic roles & 50–950 ramp

primary
#C8C745
secondary
#37377A
accent
#4BDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C745

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

Preview Lab → · Contrast checker → · Palette generator →

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