#C8C345#C8C345

#C8C345 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.8% C 0.145 H 107.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C8C345
RGBrgb(200, 195, 69)
HSLhsl(58, 54%, 53%)
HSVhsv(58, 66%, 78%)
CMYKcmyk(0%, 2.5%, 65.5%, 21.6%)
CIE-LABlab(77.13, -13.41, 61.39)
CIE-LCHlch(77.13, 62.83, 102.33°)
OKLaboklab(79.82% -0.0424 0.1383)
OKLCHoklch(79.82% 0.145 107.1)
XYZxyz(44.4103, 51.7407, 13.2767)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C345 #454AC8
analogous
#C88145 #C8C345 #8BC845
triadic
#C8C345 #45C8C3 #C345C8
tetradic
#C8C345 #45C881 #454AC8 #C8458B
square
#C8C345 #45C881 #454AC8 #C8458B
split-complementary
#C8C345 #458BC8 #8145C8
monochromatic
#716E21 #A09C2F #C8C345 #D6D274 #E4E1A3

Accessibility & contrast

On white

1.85
#C8C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#C8C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C345
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C345#FFFFFF#000000##000000
##C8C3451.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#D6B7A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c345;
/* rgb */ color: rgb(200, 195, 69);
/* oklch */ color: oklch(79.8% 0.145 107.1);
Tailwind
colors: {
  custom: {
    50: '#dcd47f',
    500: '#c8c345',
    950: '#000000',
  },
}
SCSS
$custom: #c8c345;
$custom-light: #dcd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c345",
  "rgb": {
    "r": 200,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 57.71,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79819,
    "c": 0.14466,
    "h": 107.1
  },
  "luminance": 0.51739
}

Semantic roles & 50–950 ramp

primary
#C8C345
secondary
#37397A
accent
#50DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C345

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

Preview Lab → · Contrast checker → · Palette generator →

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