#C8CD48#C8CD48

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

Color values

HEX#C8CD48
RGBrgb(200, 205, 72)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2.4%, 0%, 64.9%, 19.6%)
CIE-LABlab(79.85, -18.25, 63.00)
CIE-LCHlch(79.85, 65.59, 106.15°)
OKLaboklab(82% -0.0557 0.1422)
OKLCHoklch(82% 0.153 111.4)
XYZxyz(46.8218, 56.4110, 14.5516)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD48 #4D48CD
analogous
#CD9048 #C8CD48 #85CD48
triadic
#C8CD48 #48C8CD #CD48C8
tetradic
#C8CD48 #48CD90 #4D48CD #CD4885
square
#C8CD48 #48CD90 #4D48CD #CD4885
split-complementary
#C8CD48 #4885CD #9048CD
monochromatic
#767921 #A5A92E #C8CD48 #D6DA78 #E5E7A8

Accessibility & contrast

On white

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

On black

12.28
#C8CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD48
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD48#FFFFFF#000000##000000
##C8CD481.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cd48;
/* rgb */ color: rgb(200, 205, 72);
/* oklch */ color: oklch(82.0% 0.153 111.4);
Tailwind
colors: {
  custom: {
    50: '#dcdc82',
    500: '#c8cd48',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd48;
$custom-light: #dcdc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd48",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 62.256,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81998,
    "c": 0.1527,
    "h": 111.4
  },
  "luminance": 0.5641
}

Semantic roles & 50–950 ramp

primary
#C8CD48
secondary
#3A3882
accent
#47E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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