#C7CB56#C7CB56

#C7CB56 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.140 H 110.9°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C7CB56
RGBrgb(199, 203, 86)
HSLhsl(62, 53%, 57%)
HSVhsv(62, 58%, 80%)
CMYKcmyk(2%, 0%, 57.6%, 20.4%)
CIE-LABlab(79.34, -16.73, 56.55)
CIE-LCHlch(79.34, 58.98, 106.48°)
OKLaboklab(81.61% -0.0499 0.1305)
OKLCHoklch(81.61% 0.14 110.9)
XYZxyz(46.5901, 55.5269, 17.0658)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB56 #5A56CB
analogous
#CB9556 #C7CB56 #8DCB56
triadic
#C7CB56 #56C7CB #CB56C7
tetradic
#C7CB56 #56CB95 #5A56CB #CB568D
square
#C7CB56 #56CB95 #5A56CB #CB568D
split-complementary
#C7CB56 #568DCB #9556CB
monochromatic
#7C7F27 #AAAE36 #C7CB56 #D7D985 #E6E8B4

Accessibility & contrast

On white

1.73
#C7CB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C7CB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB56
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB56#FFFFFF#000000##000000
##C7CB561.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C349
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#D3C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cb56;
/* rgb */ color: rgb(199, 203, 86);
/* oklch */ color: oklch(81.6% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#dada8a',
    500: '#c7cb56',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb56;
$custom-light: #dada8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb56",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 62.051,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81614,
    "c": 0.13971,
    "h": 110.9
  },
  "luminance": 0.55526
}

Semantic roles & 50–950 ramp

primary
#C7CB56
secondary
#413E87
accent
#4BDC50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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