#C7CF56#C7CF56

#C7CF56 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.5% C 0.144 H 112.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#C7CF56
RGBrgb(199, 207, 86)
HSLhsl(64, 56%, 57%)
HSVhsv(64, 58%, 81%)
CMYKcmyk(3.9%, 0%, 58.5%, 18.8%)
CIE-LABlab(80.43, -18.72, 57.75)
CIE-LCHlch(80.43, 60.71, 107.96°)
OKLaboklab(82.48% -0.0555 0.133)
OKLCHoklch(82.48% 0.144 112.7)
XYZxyz(47.5469, 57.4406, 17.3847)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF56 #5E56CF
analogous
#CF9B56 #C7CF56 #8ACF56
triadic
#C7CF56 #56C7CF #CF56C7
tetradic
#C7CF56 #56CF9B #5E56CF #CF568A
square
#C7CF56 #56CF9B #5E56CF #CF568A
split-complementary
#C7CF56 #568ACF #9B56CF
monochromatic
#7F8526 #ACB533 #C7CF56 #D7DD86 #E7EAB5

Accessibility & contrast

On white

1.68
#C7CF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#C7CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF56
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF56#FFFFFF#000000##000000
##C7CF561.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC648
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#D3C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cf56;
/* rgb */ color: rgb(199, 207, 86);
/* oklch */ color: oklch(82.5% 0.144 112.7);
Tailwind
colors: {
  custom: {
    50: '#dbdd8a',
    500: '#c7cf56',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf56;
$custom-light: #dbdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf56",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 63.967,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8248,
    "c": 0.14416,
    "h": 112.7
  },
  "luminance": 0.5744
}

Semantic roles & 50–950 ramp

primary
#C7CF56
secondary
#433D8C
accent
#49DF53
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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