#C7C856#C7C856

#C7C856 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.136 H 109.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C7C856
RGBrgb(199, 200, 86)
HSLhsl(61, 51%, 56%)
HSVhsv(61, 57%, 78%)
CMYKcmyk(0.5%, 0%, 57%, 21.6%)
CIE-LABlab(78.53, -15.23, 55.65)
CIE-LCHlch(78.53, 57.70, 105.30°)
OKLaboklab(80.97% -0.0457 0.1286)
OKLCHoklch(80.97% 0.136 109.6)
XYZxyz(45.8884, 54.1237, 16.8319)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C856 #5756C8
analogous
#C89056 #C7C856 #8EC856
triadic
#C7C856 #56C7C8 #C856C7
tetradic
#C7C856 #56C890 #5756C8 #C8568E
square
#C7C856 #56C890 #5756C8 #C8568E
split-complementary
#C7C856 #568EC8 #9056C8
monochromatic
#7B7B28 #A9AA37 #C7C856 #D6D784 #E6E6B2

Accessibility & contrast

On white

1.78
#C7C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#C7C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C856
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C856#FFFFFF#000000##000000
##C7C8561.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#D4BDAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c856;
/* rgb */ color: rgb(199, 200, 86);
/* oklch */ color: oklch(81.0% 0.136 109.6);
Tailwind
colors: {
  custom: {
    50: '#dad88a',
    500: '#c7c856',
    950: '#000000',
  },
}
SCSS
$custom: #c7c856;
$custom-light: #dad88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c856",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 60.526,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80968,
    "c": 0.13642,
    "h": 109.6
  },
  "luminance": 0.54123
}

Semantic roles & 50–950 ramp

primary
#C7C856
secondary
#3F3F84
accent
#4DDA4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C856

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

Preview Lab → · Contrast checker → · Palette generator →

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