#C7C866#C7C866

#C7C866 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.122 H 109.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C7C866
RGBrgb(199, 200, 102)
HSLhsl(61, 47%, 59%)
HSVhsv(61, 49%, 78%)
CMYKcmyk(0.5%, 0%, 49%, 21.6%)
CIE-LABlab(78.70, -13.91, 48.43)
CIE-LCHlch(78.70, 50.39, 106.03°)
OKLaboklab(81.16% -0.0403 0.1147)
OKLCHoklch(81.16% 0.122 109.3)
XYZxyz(46.6067, 54.4110, 20.6150)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C866 #6766C8
analogous
#C89866 #C7C866 #96C866
triadic
#C7C866 #66C7C8 #C866C7
tetradic
#C7C866 #66C898 #6766C8 #C86696
square
#C7C866 #66C898 #6766C8 #C86696
split-complementary
#C7C866 #6696C8 #9866C8
monochromatic
#83842F #B0B140 #C7C866 #D7D893 #E8E8C0

Accessibility & contrast

On white

1.77
#C7C866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C7C866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C866
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C866#FFFFFF#000000##000000
##C7C8661.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15D
Deuteranopia (green-blind)
#D7C46B
Tritanopia (blue-blind)
#D3BEB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c866;
/* rgb */ color: rgb(199, 200, 102);
/* oklch */ color: oklch(81.2% 0.122 109.3);
Tailwind
colors: {
  custom: {
    50: '#dad894',
    500: '#c7c866',
    950: '#000000',
  },
}
SCSS
$custom: #c7c866;
$custom-light: #dad894;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c866",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 60.612,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81155,
    "c": 0.12151,
    "h": 109.3
  },
  "luminance": 0.5441
}

Semantic roles & 50–950 ramp

primary
#C7C866
secondary
#47468C
accent
#51D752
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C7C866

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

Preview Lab → · Contrast checker → · Palette generator →

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