#C8CC45#C8CC45

#C8CC45 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.154 H 111.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C8CC45
RGBrgb(200, 204, 69)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 66%, 80%)
CMYKcmyk(2%, 0%, 66.2%, 20%)
CIE-LABlab(79.55, -17.93, 63.88)
CIE-LCHlch(79.55, 66.35, 105.68°)
OKLaboklab(81.76% -0.0551 0.1436)
OKLCHoklch(81.76% 0.154 111)
XYZxyz(46.4879, 55.8959, 13.9692)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC45 #4945CC
analogous
#CC8C45 #C8CC45 #84CC45
triadic
#C8CC45 #45C8CC #CC45C8
tetradic
#C8CC45 #45CC8C #4945CC #CC4584
square
#C8CC45 #45CC8C #4945CC #CC4584
split-complementary
#C8CC45 #4584CC #8C45CC
monochromatic
#747620 #A3A62E #C8CC45 #D6D975 #E4E6A5

Accessibility & contrast

On white

1.72
#C8CC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#C8CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC45
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC45#FFFFFF#000000##000000
##C8CC451.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC332
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#D5C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc45;
/* rgb */ color: rgb(200, 204, 69);
/* oklch */ color: oklch(81.8% 0.154 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb80',
    500: '#c8cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc45;
$custom-light: #dcdb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc45",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 61.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81758,
    "c": 0.15378,
    "h": 111
  },
  "luminance": 0.55895
}

Semantic roles & 50–950 ramp

primary
#C8CC45
secondary
#39367F
accent
#48E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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