#C7CD37#C7CD37

#C7CD37 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.164 H 111.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#C7CD37
RGBrgb(199, 205, 55)
HSLhsl(62, 60%, 51%)
HSVhsv(62, 73%, 80%)
CMYKcmyk(2.9%, 0%, 73.2%, 19.6%)
CIE-LABlab(79.66, -19.55, 69.01)
CIE-LCHlch(79.66, 71.73, 105.82°)
OKLaboklab(81.8% -0.0609 0.1521)
OKLCHoklch(81.8% 0.164 111.8)
XYZxyz(46.0756, 56.0817, 12.0114)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD37 #3D37CD
analogous
#CD8837 #C7CD37 #7CCD37
triadic
#C7CD37 #37C7CD #CD37C7
tetradic
#C7CD37 #37CD88 #3D37CD #CD377C
square
#C7CD37 #37CD88 #3D37CD #CD377C
split-complementary
#C7CD37 #377CCD #8837CD
monochromatic
#6B6E1C #9A9F28 #C7CD37 #D5D968 #E2E599

Accessibility & contrast

On white

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

On black

12.22
#C7CD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD37
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD37#FFFFFF#000000##000000
##C7CD371.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC417
Deuteranopia (green-blind)
#DDC743
Tritanopia (blue-blind)
#D5C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cd37;
/* rgb */ color: rgb(199, 205, 55);
/* oklch */ color: oklch(81.8% 0.164 111.8);
Tailwind
colors: {
  custom: {
    50: '#dcdc79',
    500: '#c7cd37',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd37;
$custom-light: #dcdc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd37",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 55
  },
  "hsl": {
    "h": 62.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81795,
    "c": 0.16384,
    "h": 111.8
  },
  "luminance": 0.56081
}

Semantic roles & 50–950 ramp

primary
#C7CD37
secondary
#343177
accent
#45E34B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CD37

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

Preview Lab → · Contrast checker → · Palette generator →

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