#C7CD48#C7CD48

#C7CD48 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.153 H 111.8°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C7CD48
RGBrgb(199, 205, 72)
HSLhsl(63, 57%, 54%)
HSVhsv(63, 65%, 80%)
CMYKcmyk(2.9%, 0%, 64.9%, 19.6%)
CIE-LABlab(79.77, -18.66, 62.89)
CIE-LCHlch(79.77, 65.61, 106.53°)
OKLaboklab(81.92% -0.0568 0.142)
OKLCHoklch(81.92% 0.153 111.8)
XYZxyz(46.5556, 56.2737, 14.5391)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD48 #4E48CD
analogous
#CD9148 #C7CD48 #85CD48
triadic
#C7CD48 #48C7CD #CD48C7
tetradic
#C7CD48 #48CD91 #4E48CD #CD4885
square
#C7CD48 #48CD91 #4E48CD #CD4885
split-complementary
#C7CD48 #4885CD #9148CD
monochromatic
#757921 #A4A92E #C7CD48 #D6DA78 #E4E7A8

Accessibility & contrast

On white

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

On black

12.25
#C7CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD48
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD48#FFFFFF#000000##000000
##C7CD481.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cd48;
/* rgb */ color: rgb(199, 205, 72);
/* oklch */ color: oklch(81.9% 0.153 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc82',
    500: '#c7cd48',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd48;
$custom-light: #dbdc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd48",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 62.707,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81917,
    "c": 0.15293,
    "h": 111.8
  },
  "luminance": 0.56273
}

Semantic roles & 50–950 ramp

primary
#C7CD48
secondary
#3B3882
accent
#47E04E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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