#C8CD45#C8CD45

#C8CD45 is a light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.155 H 111.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C8CD45
RGBrgb(200, 205, 69)
HSLhsl(62, 58%, 54%)
HSVhsv(62, 66%, 80%)
CMYKcmyk(2.4%, 0%, 66.3%, 19.6%)
CIE-LABlab(79.83, -18.42, 64.15)
CIE-LCHlch(79.83, 66.75, 106.02°)
OKLaboklab(81.97% -0.0565 0.1441)
OKLCHoklch(81.97% 0.155 111.4)
XYZxyz(46.7263, 56.3728, 14.0487)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD45 #4A45CD
analogous
#CD8E45 #C8CD45 #84CD45
triadic
#C8CD45 #45C8CD #CD45C8
tetradic
#C8CD45 #45CD8E #4A45CD #CD4584
square
#C8CD45 #45CD8E #4A45CD #CD4584
split-complementary
#C8CD45 #4584CD #8E45CD
monochromatic
#747720 #A3A82D #C8CD45 #D6DA75 #E5E7A5

Accessibility & contrast

On white

1.71
#C8CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#C8CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD45
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD45#FFFFFF#000000##000000
##C8CD451.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC431
Deuteranopia (green-blind)
#DDC84E
Tritanopia (blue-blind)
#D5C1B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cd45;
/* rgb */ color: rgb(200, 205, 69);
/* oklch */ color: oklch(82.0% 0.155 111.4);
Tailwind
colors: {
  custom: {
    50: '#dcdc80',
    500: '#c8cd45',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd45;
$custom-light: #dcdc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd45",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 62.206,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81974,
    "c": 0.15483,
    "h": 111.4
  },
  "luminance": 0.56372
}

Semantic roles & 50–950 ramp

primary
#C8CD45
secondary
#393680
accent
#47E14D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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