#C7CA56#C7CA56

#C7CA56 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.139 H 110.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#C7CA56
RGBrgb(199, 202, 86)
HSLhsl(62, 52%, 56%)
HSVhsv(62, 57%, 79%)
CMYKcmyk(1.5%, 0%, 57.4%, 20.8%)
CIE-LABlab(79.07, -16.23, 56.25)
CIE-LCHlch(79.07, 58.55, 106.09°)
OKLaboklab(81.4% -0.0485 0.1298)
OKLCHoklch(81.4% 0.139 110.5)
XYZxyz(46.3547, 55.0562, 16.9873)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA56 #5956CA
analogous
#CA9356 #C7CA56 #8DCA56
triadic
#C7CA56 #56C7CA #CA56C7
tetradic
#C7CA56 #56CA93 #5956CA #CA568D
square
#C7CA56 #56CA93 #5956CA #CA568D
split-complementary
#C7CA56 #568DCA #9356CA
monochromatic
#7C7E28 #AAAD36 #C7CA56 #D6D985 #E6E7B3

Accessibility & contrast

On white

1.75
#C7CA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#C7CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA56
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA56#FFFFFF#000000##000000
##C7CA561.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C249
Deuteranopia (green-blind)
#D9C65D
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca56;
/* rgb */ color: rgb(199, 202, 86);
/* oklch */ color: oklch(81.4% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#dada8a',
    500: '#c7ca56',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca56;
$custom-light: #dada8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca56",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 61.552,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81399,
    "c": 0.13861,
    "h": 110.5
  },
  "luminance": 0.55055
}

Semantic roles & 50–950 ramp

primary
#C7CA56
secondary
#403E86
accent
#4CDC50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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