#C8CC48#C8CC48

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

Color values

HEX#C8CC48
RGBrgb(200, 204, 72)
HSLhsl(62, 56%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2%, 0%, 64.7%, 20%)
CIE-LABlab(79.58, -17.75, 62.72)
CIE-LCHlch(79.58, 65.18, 105.80°)
OKLaboklab(81.78% -0.0543 0.1416)
OKLCHoklch(81.78% 0.152 111)
XYZxyz(46.5834, 55.9341, 14.4721)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC48 #4C48CC
analogous
#CC8E48 #C8CC48 #86CC48
triadic
#C8CC48 #48C8CC #CC48C8
tetradic
#C8CC48 #48CC8E #4C48CC #CC4886
square
#C8CC48 #48CC8E #4C48CC #CC4886
split-complementary
#C8CC48 #4886CC #8E48CC
monochromatic
#757821 #A4A82F #C8CC48 #D6D978 #E5E7A8

Accessibility & contrast

On white

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

On black

12.19
#C8CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC48
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC48#FFFFFF#000000##000000
##C8CC481.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cc48;
/* rgb */ color: rgb(200, 204, 72);
/* oklch */ color: oklch(81.8% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb82',
    500: '#c8cc48',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc48;
$custom-light: #dcdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc48",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 61.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81782,
    "c": 0.15165,
    "h": 111
  },
  "luminance": 0.55933
}

Semantic roles & 50–950 ramp

primary
#C8CC48
secondary
#3A3880
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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