#C8CB56#C8CB56

#C8CB56 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.140 H 110.5°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#C8CB56
RGBrgb(200, 203, 86)
HSLhsl(62, 53%, 57%)
HSVhsv(62, 58%, 80%)
CMYKcmyk(1.5%, 0%, 57.6%, 20.4%)
CIE-LABlab(79.42, -16.32, 56.66)
CIE-LCHlch(79.42, 58.96, 106.07°)
OKLaboklab(81.7% -0.0488 0.1307)
OKLCHoklch(81.7% 0.14 110.5)
XYZxyz(46.8563, 55.6642, 17.0783)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB56 #5956CB
analogous
#CB9356 #C8CB56 #8ECB56
triadic
#C8CB56 #56C8CB #CB56C8
tetradic
#C8CB56 #56CB93 #5956CB #CB568E
square
#C8CB56 #56CB93 #5956CB #CB568E
split-complementary
#C8CB56 #568ECB #9356CB
monochromatic
#7D7F27 #ABAE36 #C8CB56 #D7D985 #E6E8B4

Accessibility & contrast

On white

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

On black

12.13
#C8CB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB56
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB56#FFFFFF#000000##000000
##C8CB561.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#DBC65D
Tritanopia (blue-blind)
#D5C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb56;
/* rgb */ color: rgb(200, 203, 86);
/* oklch */ color: oklch(81.7% 0.140 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda8a',
    500: '#c8cb56',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb56;
$custom-light: #dbda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb56",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 61.538,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81696,
    "c": 0.13951,
    "h": 110.5
  },
  "luminance": 0.55663
}

Semantic roles & 50–950 ramp

primary
#C8CB56
secondary
#403E87
accent
#4BDC4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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