#C7CD52#C7CD52

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

Color values

HEX#C7CD52
RGBrgb(199, 205, 82)
HSLhsl(63, 55%, 56%)
HSVhsv(63, 60%, 80%)
CMYKcmyk(2.9%, 0%, 60%, 19.6%)
CIE-LABlab(79.85, -18.01, 58.85)
CIE-LCHlch(79.85, 61.54, 107.02°)
OKLaboklab(82.01% -0.054 0.1348)
OKLCHoklch(82.01% 0.145 111.8)
XYZxyz(46.9087, 56.4150, 16.3991)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD52 #5852CD
analogous
#CD9652 #C7CD52 #8ACD52
triadic
#C7CD52 #52C7CD #CD52C7
tetradic
#C7CD52 #52CD96 #5852CD #CD528A
square
#C7CD52 #52CD96 #5852CD #CD528A
split-complementary
#C7CD52 #528ACD #9652CD
monochromatic
#7B8025 #A9AF33 #C7CD52 #D6DB81 #E6E8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CD52#FFFFFF#000000##000000
##C7CD521.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)
#DCC444
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#D4C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd52;
/* rgb */ color: rgb(199, 205, 82);
/* oklch */ color: oklch(82.0% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc88',
    500: '#c7cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd52;
$custom-light: #dbdc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd52",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 62.927,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82007,
    "c": 0.14524,
    "h": 111.8
  },
  "luminance": 0.56414
}

Semantic roles & 50–950 ramp

primary
#C7CD52
secondary
#403C87
accent
#49DE51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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